Changes between Version 4 and Version 5 of OpenclApps


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

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenclApps

    v4 v5  
    1717||PROC_TYPE_INTEL_GPU||3||
    1818
    19 With BOINC Clients version 7.0.12 or later, the first 3 arguments will be ignored and all data will be taken from the init_data.xml file in the slot directory.  The first 3 arguments allow this to work with older BOINC Clients.
     19With BOINC Clients version 7.0.12 or later, the first 3 arguments will be ignored and all data will be taken from the init_data.xml file in the slot directory.  The first 3 arguments allow this to work with older BOINC Clients. 
     20If your OpenCL app can use OpenCL-capable GPUs from any vendor, you can pass 0 for the third argument (''type''); if you pass a ''type'' value of 0, the type will be taken from the ''gpu_type'' field of the init_data.xml file on newer clients, but will return an error code of CL_INVALID_DEVICE_TYPE on older clients.
    2021
    2122This function is in the library boinc/api/libboinc_opencl.a (on Macs: boinc/mac_build/build/Deployment/libboinc_opencl.a).