Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. PS C:\Users\dunca\Documents\torchscript_custom_op_rust_example\custom_op\build> ..\cmake_path.ps1
  2. -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
  3. -- The CXX compiler identification is MSVC 19.28.29336.0
  4. -- The CUDA compiler identification is NVIDIA 10.1.243
  5. -- Detecting CXX compiler ABI info
  6. -- Detecting CXX compiler ABI info - done
  7. -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
  8. -- Detecting CXX compile features
  9. -- Detecting CXX compile features - done
  10. -- Detecting CUDA compiler ABI info
  11. -- Detecting CUDA compiler ABI info - done
  12. -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/bin/nvcc.exe - skipped
  13. -- Detecting CUDA compile features
  14. -- Detecting CUDA compile features - done
  15. -- Looking for C++ include pthread.h
  16. -- Looking for C++ include pthread.h - not found
  17. -- Found Threads: TRUE
  18. -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1 (found version "10.1")
  19. -- Caffe2: CUDA detected: 10.1
  20. -- Caffe2: CUDA nvcc is: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/bin/nvcc.exe
  21. -- Caffe2: CUDA toolkit directory: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1
  22. -- Caffe2: Header version is: 10.1
  23. -- Found CUDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64/cudnn.lib
  24. -- Found cuDNN: v8.0.5 (include: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include, library: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64/cudnn.lib)
  25. -- Autodetected CUDA architecture(s): 6.1
  26. -- Added CUDA NVCC flags for: -gencode;arch=compute_61,code=sm_61
  27. -- Found Torch: C:/Users/dunca/AppData/Local/Programs/Python/Python38/Lib/site-packages/torch/lib/torch.lib
  28. -- Configuring done
  29. CMake Warning (dev) in CMakeLists.txt:
  30. Policy CMP0111 is not set: An imported target missing its location property
  31. fails during generation. Run "cmake --help-policy CMP0111" for policy
  32. details. Use the cmake_policy command to set the policy and suppress this
  33. warning.
  34.  
  35. IMPORTED_IMPLIB not set for imported target "torch" configuration "Debug".
  36. This warning is for project developers. Use -Wno-dev to suppress it.
  37.  
  38. CMake Warning (dev) in CMakeLists.txt:
  39. Policy CMP0111 is not set: An imported target missing its location property
  40. fails during generation. Run "cmake --help-policy CMP0111" for policy
  41. details. Use the cmake_policy command to set the policy and suppress this
  42. warning.
  43.  
  44. IMPORTED_IMPLIB not set for imported target "torch" configuration
  45. "MinSizeRel".
  46. This warning is for project developers. Use -Wno-dev to suppress it.
  47.  
  48. CMake Warning (dev) in CMakeLists.txt:
  49. Policy CMP0111 is not set: An imported target missing its location property
  50. fails during generation. Run "cmake --help-policy CMP0111" for policy
  51. details. Use the cmake_policy command to set the policy and suppress this
  52. warning.
  53.  
  54. IMPORTED_IMPLIB not set for imported target "torch" configuration
  55. "RelWithDebInfo".
  56. This warning is for project developers. Use -Wno-dev to suppress it.
  57.  
  58. -- Generating done
  59. -- Build files have been written to: C:/Users/dunca/Documents/torchscript_custom_op_rust_example/custom_op/build
  60. PS C:\Users\dunca\Documents\torchscript_custom_op_rust_example\custom_op\build> cmake --build .
  61. Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework
  62. Copyright (C) Microsoft Corporation. All rights reserved.
  63.  
  64. Checking Build System
  65. Building Custom Rule C:/Users/dunca/Documents/torchscript_custom_op_rust_example/custom_op/CMakeLists.txt
  66. Compiling CUDA source file ..\op.cu...
  67.  
  68. C:\Users\dunca\Documents\torchscript_custom_op_rust_example\custom_op\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe" -gencode=arch=compute_30,code=\"compute_30,compute_30\" -gencode=arch=compute_3
  69. 0,code=\"sm_30,compute_30\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64" -x cu -rdc=true -I"C:\Users\dunca\AppData\Local\Programs\Python\Pyt
  70. hon38\Lib\site-packages\torch\include" -I"C:\Users\dunca\AppData\Local\Programs\Python\Python38\Lib\site-packages\torch\include\torch\csrc\api\include" -I"C:\Program Files\NVIDIA Corporation\NvToolsExt\include" -I"C:\Program Fi
  71. les\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static /Z7 /EHsc /wd4267 /wd4251
  72. /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -std=c++14 -Xcompiler="/EHsc -Zi -Ob0" -g -D_WINDOWS -DNOMINMAX -D"CMAKE_INTDIR=\"Debug\"" -Dtest_op_EXPORTS -DWIN32 -D_WINDOWS -DNOMINMAX -D"CMAKE_INTD
  73. IR=\"Debug\"" -Dtest_op_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /Od /Fdtest_op.dir\Debug\vc142.pdb /FS /Zi /RTC1 /MDd /GR" -o test_op.dir\Debug\/op.cu.obj "C:\Users\dunca\Documents\torchscript_custom_op_rust_exa
  74. mple\custom_op\op.cu"
  75. nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified
  76. C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.1.targets(764,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nv
  77. cc.exe" -gencode=arch=compute_30,code=\"compute_30,compute_30\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333
  78. \bin\HostX64\x64" -x cu -rdc=true -I"C:\Users\dunca\AppData\Local\Programs\Python\Python38\Lib\site-packages\torch\include" -I"C:\Users\dunca\AppData\Local\Programs\Python\Python38\Lib\site-packages\torch\include\torch\csrc\api\i
  79. nclude" -I"C:\Program Files\NVIDIA Corporation\NvToolsExt\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" --keep-dir x64\Debug
  80. -maxrregcount=0 --machine 64 --compile -cudart static /Z7 /EHsc /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -std=c++14 -Xcompiler="/EHsc -Zi -Ob0" -g -D_WINDOWS -DNOMINMAX -D"CMAKE_
  81. INTDIR=\"Debug\"" -Dtest_op_EXPORTS -DWIN32 -D_WINDOWS -DNOMINMAX -D"CMAKE_INTDIR=\"Debug\"" -Dtest_op_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /Od /Fdtest_op.dir\Debug\vc142.pdb /FS /Zi /RTC1 /MDd /GR" -o test_op.
  82. dir\Debug\/op.cu.obj "C:\Users\dunca\Documents\torchscript_custom_op_rust_example\custom_op\op.cu"" exited with code 1. [C:\Users\dunca\Documents\torchscript_custom_op_rust_example\custom_op\build\test_op.vcxproj]
  83. PS C:\Users\dunca\Documents\torchscript_custom_op_rust_example\custom_op\build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement