Last active
December 11, 2017 12:26
-
-
Save atinfinity/eb12fc2ab98eb9711e5cc1eff73d79f6 to your computer and use it in GitHub Desktop.
GpuMatのバグ(?)再現のための最小コード
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/core/cuda.hpp> | |
int main(int argc, char *argv[]) | |
{ | |
cv::cuda::GpuMat img1(cv::Size(320, 240), CV_32FC1, cv::Scalar(0.0f)); // NG(cuda-memcheck) | |
//cv::cuda::GpuMat img2(cv::Size(320, 240), CV_32FC1); // OK(cuda-memcheck) | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment