We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境: 系统:ubuntu20.04 cuda driver : 12.4 cudnn:8.9.7 一开始编译的时候还有关于pthread undefined reference,后面在cmakelist里面修改了cxx_flag为-lpthread,后出现: 等问题
The text was updated successfully, but these errors were encountered:
cpp template <> void print_mat(__half* src, size_t size) { for (int i=0; i < size; i++) { std::cout << *((unsigned short*)(src+i)) << " "; } std::cout << std::endl; } 使用模板特化暂时解决了编译问题,但是不知道后面是否会有影响
cpp template <> void print_mat(__half* src, size_t size) { for (int i=0; i < size; i++) { std::cout << *((unsigned short*)(src+i)) << " "; } std::cout << std::endl; }
Sorry, something went wrong.
No branches or pull requests
环境:


系统:ubuntu20.04
cuda driver : 12.4
cudnn:8.9.7
一开始编译的时候还有关于pthread undefined reference,后面在cmakelist里面修改了cxx_flag为-lpthread,后出现:
等问题
The text was updated successfully, but these errors were encountered: