-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
36 lines (28 loc) · 1.38 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Known ambiguous OpenCL 1.2 features
-----------------------------------
The OpenCL 1.2 and later standards are very ambiguous when it
comes to sub-devices. On the one hand, they claim that sub-devices
can be used wherever their parent devices can be used, on the
other hand various parts of the standard hint that they should be
treated independently.
In particular, it's not clear whether sub-devices can be used
within a context that only holds their parent device, or not. This
might even depend on whether the context was created "from type"
or not.
The implementation of subdevices in pocl currently converts
subdevices to their parents in most places, with the exception
being clEnqueueNDRangeKernel. This means, for example, that
sub-devices can be used in a context that does not contain
them (but contains their parent device). Note this is equivalent
to the AMD behavior (which is tested in the DeviceFission AMD APP
SDK example), but differs from e.g. Intel's behavior. Clarification
from the standard body is needed on which behavior is correct.
Known missing OpenCL 1.2 features
---------------------------------
Missing APIs used by the tested OpenCL example suites are
entered here.
OpenCL 1.2 Extensions
* 9.7 Sharing Memory Objects with OpenGL / OpenGL
ES Buffer, Texture and Renderbuffer Objects
* 9.7.6 Sharing memory objects that map to GL objects
between GL and CL contexts