Changes between Version 42 and Version 43 of AppCoprocessor
- Timestamp:
- Aug 7, 2013, 12:25:08 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AppCoprocessor
v42 v43 41 41 --device 0 --device 3 42 42 }}} 43 '''Note:''' The use of this command-line argument is deprecated. New applications should 44 instead use the value of gpu_device_num passed in the APP_INIT_DATA structure returned 45 by '''boinc_get_init_data()'''. 43 46 44 47 Some OpenCL apps can use either NVIDIA or ATI GPUs, 45 48 so they must also be told which type of GPU to use. 46 This is passed in the APP_INIT_DATA structure returned by '''boinc_get_init_data()'''.49 This is also passed in the APP_INIT_DATA structure. 47 50 {{{ 48 51 char gpu_type[64]; // "nvidia" or "ati" 49 52 int gpu_device_num; 50 53 }}} 54 OpenCL apps should not use the command line argument, but should instead call 55 the '''boinc_get_opencl_ids()''' API as described 56 [http://boinc.berkeley.edu/trac/wiki/OpenclApps here]. 51 57 52 58 == Do GPU kernels within critical sections == … … 74 80 * For CUDA apps, the name must contain "cuda" 75 81 * For CAL apps, the name must contain "ati". 76