diff options
Diffstat (limited to 'src/gallium/frontends/clover/api/queue.cpp')
-rw-r--r-- | src/gallium/frontends/clover/api/queue.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/frontends/clover/api/queue.cpp b/src/gallium/frontends/clover/api/queue.cpp index 39de311b34f..9d1123b2ddb 100644 --- a/src/gallium/frontends/clover/api/queue.cpp +++ b/src/gallium/frontends/clover/api/queue.cpp @@ -98,6 +98,15 @@ clGetCommandQueueInfo(cl_command_queue d_q, cl_command_queue_info param, buf.as_vector<cl_queue_properties>() = q.properties(); break; + case CL_QUEUE_DEVICE_DEFAULT: + if (r_size) + *r_size = 0; + break; + + case CL_QUEUE_SIZE: + throw error(CL_INVALID_COMMAND_QUEUE); + break; + default: throw error(CL_INVALID_VALUE); } |