Håvard Ose Nordstrand 4 years ago
parent
commit
17bf2fd401
1 changed files with 1 additions and 0 deletions
  1. 1 0
      se/hpc/cuda.md

+ 1 - 0
se/hpc/cuda.md

@@ -121,6 +121,7 @@ breadcrumbs:
 ### Miscellanea
 
 - When transferring lots of small data arrays, try to combine them. For strided data, try to use `cudaMemcpy2D` or `cudaMemcpy3D`. Otherwise, try to copy the small arrays into a single, temporary, pinned array.
+- For getting device attributes/properties, `cudaDeviceGetAttribute` is significantly faster than `cudaGetDeviceProperties`.
 
 ## Tools