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

Commit

Permalink
Fix cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
reminisce committed Oct 8, 2019
1 parent ec47b3b commit b49cfce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ if(USE_TVM_OP)

set(TVM_OP_COMPILE_OPTIONS "-o${CMAKE_CURRENT_BINARY_DIR}/libtvmop.so")
if(CUDA_ARCH_BIN)
set(TVM_OP_COMPILE_OPTIONS "${TVM_OP_COMPILE_OPTIONS} --cuda-arch ${CUDA_ARCH_BIN}")
set(TVM_OP_COMPILE_OPTIONS "${TVM_OP_COMPILE_OPTIONS}" "--cuda-arch" "${CUDA_ARCH_BIN}")
endif()
add_custom_command(TARGET mxnet POST_BUILD
COMMAND ${CMAKE_COMMAND} -E env
Expand Down
2 changes: 0 additions & 2 deletions tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
from common import assertRaises, with_seed
import random
import scipy.stats as ss
from mxnet.test_utils import verify_generator, gen_buckets_probs_with_ppf, collapse_sum_like
from mxnet.runtime import Features
from mxnet.numpy_op_signature import _get_builtin_op
from mxnet.test_utils import verify_generator, gen_buckets_probs_with_ppf, has_tvm_ops
import platform
Expand Down

0 comments on commit b49cfce

Please sign in to comment.