Commit c400518
authored
fix test_api negative_set_read_write_image_arg (#812)
clSetKernelArg is supposed to fail with CL_INVALID_ARG_VALUE when an image is created with CL_MEM_READ_ONLY is passed to a write_only kernel argument! (Got CL_SUCCESS, expected CL_INVALID_ARG_VALUE from <OpenCL-CTS>/test_conformance/api/test_kernels.cpp:842)1 parent 3a5774a commit c400518
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
327 | 338 | | |
328 | 339 | | |
329 | 340 | | |
| |||
0 commit comments