Added queries for generic address space and work-group collective functions support
@@ -152,6 +152,13 @@ POname(clGetDeviceInfo)(cl_device_id device,
case CL_DEVICE_MAX_SAMPLERS:
POCL_RETURN_DEVICE_INFO_WITH_IMG_CHECK (cl_uint, device->max_samplers);
+ case CL_DEVICE_IMAGE_PITCH_ALIGNMENT:
+ /* Creating a 2D image from a buffer is not supported */
+ POCL_RETURN_GETINFO(cl_uint, 0);
+ case CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT:
+ /* Creating a 2D image from a buffer is not supported */
+ POCL_RETURN_GETINFO(cl_uint, 0);
+
case CL_DEVICE_MAX_PARAMETER_SIZE:
POCL_RETURN_DEVICE_INFO_WITH_IMPL_CHECK(size_t, device->max_parameter_size);
case CL_DEVICE_MEM_BASE_ADDR_ALIGN :
@@ -321,6 +328,10 @@ POname(clGetDeviceInfo)(cl_device_id device,
case CL_DEVICE_DEVICE_ENQUEUE_CAPABILITIES:
POCL_RETURN_GETINFO(cl_uint, 0);
+ case CL_DEVICE_WORK_GROUP_COLLECTIVE_FUNCTIONS_SUPPORT:
+ POCL_RETURN_GETINFO(cl_bool, CL_FALSE);
+ case CL_DEVICE_GENERIC_ADDRESS_SPACE_SUPPORT:
+ POCL_RETURN_GETINFO(cl_bool, CL_FALSE);
case CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES:
POCL_RETURN_GETINFO(cl_command_queue_properties, device->on_dev_queue_props);
case CL_DEVICE_QUEUE_ON_HOST_PROPERTIES:
