Changes between Version 2 and Version 3 of CudaApps
- Timestamp:
- Mar 23, 2009, 11:55:45 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CudaApps
v2 v3 1 1 = CUDA applications = 2 3 == Device selection == 4 5 Your application will be run with an additional command-line argument 6 {{{ 7 --device m 8 }}} 9 where m specifies with GPU to use (0..n-1). 10 Pass this to cudaSetDevice(). 11 12 If your application uses multiple GPUs, there will be multiple --device arguments. 2 13 3 14 == CUDA initialization ==