Reply To: cavity3d , run-time error ‘invalid device symbol’, CUDA 11.7
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › cavity3d , run-time error ‘invalid device symbol’, CUDA 11.7 › Reply To: cavity3d , run-time error ‘invalid device symbol’, CUDA 11.7
CUDA_ARCH value needs to match the targeted GPU. i.e. for a V100 (Volta) 70 or 72 should be good (lower is also possible but will lead to additional startup time for bytecode translation).
See also the reference table in
rules.mk mentioned in the comment for
Note that further adaptation (e.g. following
config/gpu_openmpi.mk) will be needed for MPI-based multi-GPU execution (regarding the inclusion of
Especially for the
laminar/cavity3d example you will want to significantly increase the spatial resolution from the default value to take advantage of the GPU.
See also e.g. the forum/gpu-examples thread.