-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RUNTIME] Finish GPU runtime and python interface
- Loading branch information
Showing
16 changed files
with
931 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#------------------------------------------------------------------------------- | ||
# Template configuration for compiling | ||
# | ||
# If you want to change the configuration, please use the following | ||
# steps. Assume you are on the root directory. First copy the this | ||
# file so that any local changes will be ignored by git | ||
# | ||
# $ cp make/config.mk . | ||
# | ||
# Next modify the according entries, and then compile by | ||
# | ||
# $ make | ||
# | ||
# or build in parallel with 8 threads | ||
# | ||
# $ make -j8 | ||
#------------------------------------------------------------------------------- | ||
|
||
#--------------------- | ||
# choice of compiler | ||
#-------------------- | ||
export NVCC = nvcc | ||
|
||
# whether compile with debug | ||
DEBUG = 0 | ||
|
||
# the additional link flags you want to add | ||
ADD_LDFLAGS = | ||
|
||
# the additional compile flags you want to add | ||
ADD_CFLAGS = | ||
|
||
#--------------------------------------------- | ||
# matrix computation libraries for CPU/GPU | ||
#--------------------------------------------- | ||
|
||
# whether use CUDA during compile | ||
USE_CUDA = 1 | ||
|
||
# add the path to CUDA library to link and compile flag | ||
# if you have already add them to environment variable, leave it as NONE | ||
# USE_CUDA_PATH = /usr/local/cuda | ||
USE_CUDA_PATH = NONE | ||
|
||
# whether use cuda runtime compiling for writing kernels in native language (i.e. Python) | ||
USE_NVRTC = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.