Page MenuHomePhabricator

OpenCL is not working under windows
Closed, ResolvedPublic

Description

The OpenCL-support is not working under windows. If it is used, the application hungs at start-up

Event Timeline

Cause : static loading of the OpenCL uService, use the lazy loading.

[9ee672]: Merge branch 'bug-14881-OpenCLContext-Windows'

Merged commits:

2013-04-04 11:32:12 Jan Hering [084814]
Removed static member holding the OclServiceRef

  • replaced the usage of the static member inside the module

Michael, did you already have an oportunity to test the fix?

New remote branch pushed: bug-14881-OpenCLForWindows

Is this one fixed? It is a candidate for the 2013.03.1 release.

(In reply to comment #5)

Is this one fixed? It is a candidate for the 2013.03.1 release.

Unfortunately not (yet). Michael proposed a solution ( bug-14881-OpenCLForWindows ) which works, but I'm not sure if this is the correct way of postponing the service loading.

Could you take a look?

New remote branch pushed: bug-14881-OpenCLWindowsLazyLoading

New remote branch pushed: bug-14881-fix-opencl-context-creation

[2e03dc]: Merge branch 'bug-14881-fix-opencl-context-creation'

Merged commits:

2013-04-26 17:16:17 Jan Hering [8ab33a]
Removing unused method


2013-04-26 17:10:39 Jan Hering [617bb1]
Packing all context-related stuff to a struct

  • to re-enable constness of Get...() methods in the service interface

2013-04-26 14:39:04 Jan Hering [c82aa5]
Postponing OpenCL creation

  • in now 'lazy-loaded', i.e. created by first GetContext() or first
  • internal usage

2013-04-04 11:32:12 Jan Hering [0ad61f]
Removed static member holding the OclServiceRef

  • replaced the usage of the static member inside the module