Hello Guest

[FIXED] expose CL_APPLE_gl_sharing via CLPlatformCapabilities

  • 1 Replies
  • 2564 Views
CLPlatformCapabilities is missing fields for common apple extensions like "CL_APPLE_gl_sharing".
Apple doesn't expose "CL_KHR_gl_sharing" so one needs to check for the apple version too, which currently requires to manually parse the extension string.
« Last Edit: October 31, 2013, 17:06:50 by spasi »

*

Offline spasi

  • *****
  • 2139
    • WebHotelier
Re: [RFE] expose CL_APPLE_gl_sharing via CLPlatformCapabilities
« Reply #1 on: July 22, 2013, 18:45:26 »
I've added 3 APPLE extensions that are exposed in the CL_PLATFORM_EXTENSIONS string to CLPlatformCapabilities. Keep in mind though that you also need to check the CLDeviceCapabilities for each of your devices before using a CL extension (a flag for APPLE_gl_sharing was already present there).