Skip to content

Commit

Permalink
Revert "Fix Windows build for Neo DLR"
Browse files Browse the repository at this point in the history
This reverts commit 7d96118.
  • Loading branch information
wweic committed Aug 14, 2019
1 parent 2338d42 commit 5f9b07e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,5 @@ endif(INSTALL_DEV)
if(MSVC)
target_compile_definitions(tvm PRIVATE -DTVM_EXPORTS)
target_compile_definitions(tvm_runtime PRIVATE -DTVM_EXPORTS)
target_compile_definitions(tvm_runtime_static PRIVATE -DTVM_DLL= -DTVM_DLL_PARALLEL_LAUNCH=__declspec(dllexport))
target_compile_definitions(nnvm_compiler PRIVATE -DNNVM_EXPORTS)
endif()
4 changes: 1 addition & 3 deletions include/tvm/runtime/c_backend_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ typedef int (*FTVMParallelLambda)(
*
* \return 0 when no error is thrown, -1 when failure happens
*/
#define TVM_DLL_PARALLEL_LAUNCH

TVM_DLL_PARALLEL_LAUNCH int TVMBackendParallelLaunch(FTVMParallelLambda flambda,
TVM_DLL int TVMBackendParallelLaunch(FTVMParallelLambda flambda,
void* cdata,
int num_task);

Expand Down

0 comments on commit 5f9b07e

Please sign in to comment.