1
0
Håvard Ose Nordstrand 4 жил өмнө
parent
commit
17bf2fd401
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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