Commit Graph

3 Commits

Author SHA1 Message Date
Tor Lillqvist
52f9606ed0 The OpenCLEnv struct is used only inside openclwrapper.cxx
Change-Id: I95fbee302213e6ced469dd7a2a1c254178159357
2014-11-27 19:12:21 +02:00
Tor Lillqvist
598f25c857 Clean up confusing OpenCL code a bit
Get rid of the silly OpenCLDevice class that had only static members. We can
as well just use namespacing. Remove functions only used internally in
openclwrapper.cxx from the now public openclwrapper.hxx header.

Change-Id: If7336edd262c772564dc13e64113d72d0b52428c
2014-11-27 19:12:21 +02:00
Tor Lillqvist
a70b717ef8 Move more Calc-independent OpenCL stuff from the sc to the opencl module
No cleanups yet. Just removed the "sc" namespace parts now when this stuff is
no longer Calc-specific. There is still horribly confusing use of the same
OpenCLDevice name for both a class and as a namespace, for instance. And the
OpenCLDevice class has only public static members even, so effectively it acts
as just a namespace anyway... Etc.

Change-Id: Idc5f30a721df0101426c676f04a85e02c5dc8443
2014-11-27 15:32:58 +02:00