env : vs2019, libtorch 1.9.0+cu11.1 , cuda 11.1, cudnn 7.6.5
also i tried to add -INCLUDE:?warp_size@cuda@at@@YAHXZ on dependency
but it occured an error related to added dependency with following message.
PyTorch is not linked with support for cuda devices
Exception raised from getDeviceGuardImpl at …\c10/core/impl/DeviceGuardImplInterface.h:294 (most recent call first):
i can build/run the project with torch::cpu but i could’t run with gpu mode.
what can i do to handle the problem?
please answer me. thank you.