i want to apply GPU/cuda in c++.
“torch::cuda::is_available()” return false
how to do? thank you!
in the same computer, in python, “torch.cuda.is_available()” return true.
i want to apply GPU/cuda in c++.
“torch::cuda::is_available()” return false
how to do? thank you!
in the same computer, in python, “torch.cuda.is_available()” return true.
libtorch is libtorch-win-shared-with-deps-1.10.0+cu113
i have try “/INCLUDE:?warp_size@cuda@at@@YAHXZ”.
it does not work.