Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Panev <[email protected]>
  • Loading branch information
Kh4L committed Aug 24, 2020
1 parent aab977e commit 5bc6f56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ include_directories("3rdparty/tvm/include")
include_directories("3rdparty/dmlc-core/include")
include_directories("3rdparty/dlpack/include")

message(STATUS "CUDAToolkit_VERSION_MAJOR ${CUDAToolkit_VERSION_MAJOR}")
if(CUDAToolkit_VERSION_MAJOR LESS "11")
include_directories("3rdparty/nvidia_cub")
endif()
Expand Down
3 changes: 3 additions & 0 deletions cmake/upstream/FindCUDAToolkit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,8 @@ if(NOT CUDAToolkit_BIN_DIR AND CUDAToolkit_NVCC_EXECUTABLE)
unset(cuda_dir)
endif()
message(STATUS "CUDAToolkit_NVCC_EXECUTABLE ${CUDAToolkit_NVCC_EXECUTABLE}")
message(STATUS "CMAKE_CUDA_COMPILER_VERSION ${CMAKE_CUDA_COMPILER_VERSION}")
if(CUDAToolkit_NVCC_EXECUTABLE AND
CUDAToolkit_NVCC_EXECUTABLE STREQUAL CMAKE_CUDA_COMPILER)
# Need to set these based off the already computed CMAKE_CUDA_COMPILER_VERSION value
Expand All @@ -676,6 +678,7 @@ if(CUDAToolkit_NVCC_EXECUTABLE AND
else()
# Compute the version by invoking nvcc
execute_process (COMMAND ${CUDAToolkit_NVCC_EXECUTABLE} "--version" OUTPUT_VARIABLE NVCC_OUT)
message(STATUS "NVCC_OUT ${NVCC_OUT}")
if(NVCC_OUT MATCHES [=[ V([0-9]+)\.([0-9]+)\.([0-9]+)]=])
set(CUDAToolkit_VERSION_MAJOR "${CMAKE_MATCH_1}")
set(CUDAToolkit_VERSION_MINOR "${CMAKE_MATCH_2}")
Expand Down
1 change: 0 additions & 1 deletion python/mxnet/contrib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@
from . import io
from . import quantization
from . import quantization as quant
from . import tensorrt

0 comments on commit 5bc6f56

Please sign in to comment.