Changes between Version 42 and Version 43 of AppCoprocessor


Ignore:
Timestamp:
Aug 7, 2013, 12:25:08 AM (11 years ago)
Author:
charlief
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppCoprocessor

    v42 v43  
    4141--device 0 --device 3
    4242}}}
     43'''Note:''' The use of this command-line argument is deprecated.  New applications should
     44instead use the value of gpu_device_num passed in the APP_INIT_DATA structure returned
     45by '''boinc_get_init_data()'''.
    4346
    4447Some OpenCL apps can use either NVIDIA or ATI GPUs,
    4548so 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()'''.
     49This is also passed in the APP_INIT_DATA structure.
    4750{{{
    4851char gpu_type[64];     // "nvidia" or "ati"
    4952int gpu_device_num;
    5053}}}
     54OpenCL apps should not use the command line argument, but should instead call
     55the '''boinc_get_opencl_ids()''' API as described
     56[http://boinc.berkeley.edu/trac/wiki/OpenclApps here].
    5157
    5258== Do GPU kernels within critical sections ==
     
    7480 * For CUDA apps, the name must contain "cuda"
    7581 * For CAL apps, the name must contain "ati".
    76