Commit 20ad2d9
authored
Add missing error case for clSetKernelArgDevicePointerEXT (KhronosGroup#1492)
It is never valid to call clSetKernelArgDevicePointerEXT for
an argument that is not a pointer to the global address space.
Since it is the choice of argument that is wrong in this case,
CL_INVALID_ARG_INDEX looks like the most natural error code.
Change-Id: I75f066c9731ad57f2325d8cd359b29819f8327fe
Signed-off-by: Kevin Petit <kevin.petit@arm.com>1 parent cf43f3c commit 20ad2d9
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11173 | 11173 | | |
11174 | 11174 | | |
11175 | 11175 | | |
11176 | | - | |
| 11176 | + | |
| 11177 | + | |
| 11178 | + | |
| 11179 | + | |
11177 | 11180 | | |
11178 | 11181 | | |
11179 | 11182 | | |
| |||
0 commit comments