Created
June 16, 2014 21:53
-
-
Save atinfinity/276c02f2c24cde30ae5b to your computer and use it in GitHub Desktop.
OpenCVビルド情報/CUDA情報表示プログラム
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.hpp> | |
#include <opencv2/core/cuda.hpp> | |
#include <opencv2/core/utility.hpp> | |
#include <iostream> | |
int main(int argc, const char* argv[]) | |
{ | |
//(1) Build Information | |
std::cout << cv::getBuildInformation() << std::endl; | |
//(2) CUDA Information | |
cv::cuda::printShortCudaDeviceInfo(cv::cuda::getDevice()); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment