Lazily load libcuda libnvrtc from c++ (#17317)
authorZachary DeVito <zdevito@fb.com>
Fri, 22 Feb 2019 21:37:26 +0000 (13:37 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Feb 2019 21:51:45 +0000 (13:51 -0800)
commit356a94b64e69aa2e87b33e7bbd0b302feca327a4
tree5e864de50ec91b836f8dc05f8f91c9691c0b4cc2
parent81b43202ae1eaa44ada84b193ae0fbfe0d11bc91
Lazily load libcuda libnvrtc from c++ (#17317)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/16860
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17317

Differential Revision: D14157877

Pulled By: zdevito

fbshipit-source-id: c37aec2d77c2e637d4fc6ceffe2bd32901c70317
16 files changed:
setup.py
test/test_cuda_primary_ctx.py
tools/amd_build/build_amd.py
tools/build_variables.py
torch/CMakeLists.txt
torch/__init__.py
torch/csrc/autograd/profiler_cuda.cpp
torch/csrc/cuda/cuda_check.h [deleted file]
torch/csrc/jit/fuser/cpu/dynamic_library.h
torch/csrc/jit/fuser/cpu/dynamic_library_unix.cpp
torch/csrc/jit/fuser/cpu/dynamic_library_win.cpp
torch/csrc/jit/fuser/cuda/fused_kernel.cpp
torch/csrc/jit/fuser/cuda/fused_kernel.h
torch/csrc/jit/fuser/cuda/thnvrtc.cpp [new file with mode: 0644]
torch/csrc/jit/fuser/cuda/thnvrtc.h [new file with mode: 0644]
torch/csrc/nvrtc.cpp [deleted file]