I solved this issue by adding ‘?warp_size@cuda@at@@YAHXZ’ to linker option of visual studio(2017).

Add  /INCLUDE:?warp_size@cuda@at@@YAHXZ

Add ‘torch_cuda.lib’

ref. https://github.com/pytorch/pytorch/issues/33435#issuecomment-685241862 243
Thanks.