Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OpenCVビルド情報/CUDA情報表示プログラム
#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
You can’t perform that action at this time.