This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Introduce the ENABLE_CUDA_RTC build option #9428
Merged
Merged
Conversation
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
When OFF the ENABLE_CUDA_RTC option skips building the CUDA runtime compilation feature (CudaModule) that requires access to the CUDA driver API. The MXNet shared library build with this option OFF has no direct dependency on the CUDA driver library (e.g. libcuda.so) and can be used on both GPU and CPU hosts. CPU-only hosts require no stub CUDA driver library.
When ENABLE_CUDA_RTC is off and USE_CUDA is ON, can it still do everything on GPU like the normal build? What is lost? |
The only thing lost when USE_CUDA is ON and ENABLE_CUDA_RTC is OFF is calling the |
cjolivier01
approved these changes
Jan 15, 2018
CodingCat
pushed a commit
to CodingCat/mxnet
that referenced
this pull request
Jan 16, 2018
When OFF the ENABLE_CUDA_RTC option skips building the CUDA runtime compilation feature (CudaModule) that requires access to the CUDA driver API. The MXNet shared library build with this option OFF has no direct dependency on the CUDA driver library (e.g. libcuda.so) and can be used on both GPU and CPU hosts. CPU-only hosts require no stub CUDA driver library.
larroy
pushed a commit
to larroy/mxnet
that referenced
this pull request
Jan 18, 2018
When OFF the ENABLE_CUDA_RTC option skips building the CUDA runtime compilation feature (CudaModule) that requires access to the CUDA driver API. The MXNet shared library build with this option OFF has no direct dependency on the CUDA driver library (e.g. libcuda.so) and can be used on both GPU and CPU hosts. CPU-only hosts require no stub CUDA driver library.
yuxiangw
pushed a commit
to yuxiangw/incubator-mxnet
that referenced
this pull request
Jan 25, 2018
When OFF the ENABLE_CUDA_RTC option skips building the CUDA runtime compilation feature (CudaModule) that requires access to the CUDA driver API. The MXNet shared library build with this option OFF has no direct dependency on the CUDA driver library (e.g. libcuda.so) and can be used on both GPU and CPU hosts. CPU-only hosts require no stub CUDA driver library.
rahul003
pushed a commit
to rahul003/mxnet
that referenced
this pull request
Jun 4, 2018
When OFF the ENABLE_CUDA_RTC option skips building the CUDA runtime compilation feature (CudaModule) that requires access to the CUDA driver API. The MXNet shared library build with this option OFF has no direct dependency on the CUDA driver library (e.g. libcuda.so) and can be used on both GPU and CPU hosts. CPU-only hosts require no stub CUDA driver library.
zheng-da
pushed a commit
to zheng-da/incubator-mxnet
that referenced
this pull request
Jun 28, 2018
When OFF the ENABLE_CUDA_RTC option skips building the CUDA runtime compilation feature (CudaModule) that requires access to the CUDA driver API. The MXNet shared library build with this option OFF has no direct dependency on the CUDA driver library (e.g. libcuda.so) and can be used on both GPU and CPU hosts. CPU-only hosts require no stub CUDA driver library.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When
OFF
theENABLE_CUDA_RTC
option skips building the CUDA runtime compilation feature (CudaModule
) that requires access to the CUDA driver API. The MXNet shared library build with this optionOFF
has no direct dependency on the CUDA driver library (e.g.libcuda.so
) and can be used on both GPU and CPU hosts. That means CPU-only hosts require no stubs for the CUDA driver library.Checklist
Essentials
make lint
)