User Tools

Site Tools


howto:compile_with_cuda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:compile_with_cuda [2019/04/09 10:36] – [Profiling] alazzarohowto:compile_with_cuda [2020/08/21 10:15] (current) – external edit 127.0.0.1
Line 10: Line 10:
 NVCC    = /path_to_cuda/bin/nvcc NVCC    = /path_to_cuda/bin/nvcc
 DFLAGS += -D__ACC -D__DBCSR_ACC -D__PW_CUDA DFLAGS += -D__ACC -D__DBCSR_ACC -D__PW_CUDA
-LIBS   += -lcudart -lcublas -lcufft -lrt+LIBS   += -lcudart -lcublas -lcufft -lnvrtc
 </code> </code>
  
Line 38: Line 38:
 </code> </code>
  
-More supported GPUs can be added, please refer to [[howto:libcusmm | this howto]].+More supported GPUs can be added, please refer to [[https://github.com/cp2k/dbcsr/blob/develop/src/acc/libsmm_acc/libcusmm/tune.md | this howto]].
  
 ===== Profiling ===== ===== Profiling =====
 If you are interested in profiling CP2K with nvprof have a look at [[dev:profiling#nvprof | these remarks]]. If you are interested in profiling CP2K with nvprof have a look at [[dev:profiling#nvprof | these remarks]].
howto/compile_with_cuda.1554806195.txt.gz · Last modified: 2020/08/21 10:15 (external edit)