

Since I'm not able to reproduce the problem, I added a command line parameter to disable OpenCL support. GPU Caps 1.8.x has some known issues: in some situations, the initial hardware scanning encounters an infinite wait state maybe due to OpenCL initialization. To enable and test GL interop, just start GPU Caps with the batch file Start_OpenCL_With_GLInterop.bat.

I wonder why AMD has added this buggy / incomplete GL interop support.ĭue to some instability with GL interop, I disabled this interoperability support by default. That's why you have a black screen in Julia 4D when GL interop is enabled with a Radeon. And Julia 4D uses this function when GL interop is enabled. Actually (I had this information from AMD), image functions related to GL interop are not implemented like clEnqueueCopyBufferToImage(). To access this feature,follow the specification as described in section 9.11 of the OpenCL™ 1.0 Specification (revision 48).Ĭl_khr_gl_sharing is then supported but not officially. Since conformance logs have not been submitted for this feature, cl_khr_gl_sharing will not be present in the CL_PLATFORM_EXTENSIONS or CL_DEVICE_EXTENSIONS string. This extension is not listed in CL extension list: The ATI Stream SDK also introduced a preview of CL / GL interoperability support (extension cl_khr_gl_sharing). If (!strcmp(pbuf, "Advanced Micro Devices, Inc.")) So in the new GPU Caps 1.8.1, the CL context is created with a code like this one:ĬlGetPlatformIDs(0, NULL, &numPlatforms) ĬlGetPlatformIDs(numPlatforms, platforms, NULL) įor (unsigned i = 0 i < numPlatforms ++i) Your application is now responsible for selecting which of the OpenCL platforms present on a system it wishes to use, instead of just requesting the system default. And from this page, the code written with previous beta releases of the ATI Stream SDK v2.0 require changes to comply with the OpenCL ICD requirements: Just look at the size of the OpenCL.dll: in the previous SDK, we had a 6MB OpenCL.dll and now we have a 50KB OpenCL.dll (and the 6MB DLL code is now relocated in a file called atiocl.dll). Now the SDK v2.0.0 proposes an OpenCL ICD (Installable Client Driver) like NVIDIA. In GPU Caps 1.8.0, a CL context was created with: The main change concerns the function clCreateContextFromType() that allows to create an OpenCL context. Webmasters: hotlinking is not allowed, please use the post url as download link. This version 1.8.2 fixes the startup infinite wait-state that occurs for some systems…


The new GPU Caps Viewer 1.8.2 is available HERE. Here is a new version of GPU Caps Viewer in order to reflect the changes in OpenCL due to the release of the new version of ATI Stream SDK.
