leezu commented on a change in pull request #18904:
URL: https://github.com/apache/incubator-mxnet/pull/18904#discussion_r476058946
##########
File path: config/linux_gpu.cmake
##########
@@ -33,6 +33,14 @@
# Specify `cmake --build . --parallel N` to set the number of parallel
compilation jobs.
# Default is derived from CPUs available.
#
+# By default, cmake will try and discover which GPU architecture to use by
looking at
+# the available GPUs on the machine that you're building on. If you want to
build for
+# a specific GPU architecture or are building on a machine without a GPU, then
+# specify the MXNET_CUDA_ARCH option like:
+#
+# $ cmake .. -DMXNET_CUDA_ARCH=7.0
+#
+# In the example above we're building for sm_70 which is the Volta
architecture.
Review comment:
To avoid duplication, should we just reference the option and
explanation 20 lines below.If you find the explanation below isn't clear, feel
free to improve it. It may be better than documenting it twice. WDYT?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]