rusticl: enable zink

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24839>
This commit is contained in:
Karol Herbst 2023-09-19 14:44:26 +02:00 committed by Marge Bot
parent e0bf698d46
commit 65848d445c
3 changed files with 8 additions and 7 deletions

View File

@ -850,7 +850,7 @@ Rusticl OpenCL 1.2 -- all DONE:
clEnqueueMarkerWithWaitList DONE
clEnqueueBarrierWithWaitList DONE
clUnloadPlatformCompiler DONE
cl_khr_fp64 in progress (iris, llvmpipe, nvc0, radeonsi, Available with environment variable RUSTICL_FEATURES=fp64, device dependent.)
cl_khr_fp64 in progress (iris, llvmpipe, nvc0, radeonsi, zink, Available with environment variable RUSTICL_FEATURES=fp64, device dependent.)
printf DONE
CL_KERNEL_ATTRIBUTES for clGetKernelInfo DONE
OpenCL C 1.2 DONE
@ -870,7 +870,7 @@ Rusticl OpenCL 2.0 -- all DONE:
- from sRGB images in progress
clCreateSamplerWithProperties DONE
Non-uniform work-group sizes not started
cl_khr_3d_image_writes DONE (iris, llvmpipe, nvc0, panfrost, radeonsi)
cl_khr_3d_image_writes DONE (iris, llvmpipe, nvc0, panfrost, radeonsi, zink)
OpenCL C 2.0 in progress
- Work-group Collective Functions not started
- Generic address space in progress
@ -881,7 +881,7 @@ Rusticl OpenCL 2.1 -- all DONE:
Sub groups DONE (iris, llvmpipe, radeonsi)
- cl_khr_subgroups in progress
cl_khr_il_program DONE
Device and host timer synchronization DONE (iris, llvmpipe, radeonsi)
Device and host timer synchronization DONE (iris, llvmpipe, radeonsi, zink)
clEnqueueSVMMigrateMem in progress (nvc0/gp100, broken)
clCloneKernel DONE
Default device command queue not started
@ -915,13 +915,13 @@ Rusticl extensions that are not part of any OpenCL version:
cl_khr_async_copy_fence not started
cl_khr_async_work_group_copy_fence not started
cl_khr_device_enqueue_local_arg_types not started
cl_khr_device_uuid DONE (iris, llvmpipe, radeonsi)
cl_khr_device_uuid DONE (iris, llvmpipe, radeonsi, zink)
cl_khr_egl_event not started
cl_khr_egl_image not started
cl_khr_expect_assume in progress (hints are ignored)
cl_khr_extended_async_copies not started
cl_khr_extended_bit_ops in progress
cl_khr_fp16 in progress (llvmpipe, radeonsi, Available with environment variable RUSTICL_FEATURES=fp16)
cl_khr_fp16 in progress (llvmpipe, radeonsi, zink, Available with environment variable RUSTICL_FEATURES=fp16)
cl_khr_gl_depth_images not started
cl_khr_gl_msaa_sharing not started
cl_khr_gl_sharing in progress
@ -931,7 +931,7 @@ Rusticl extensions that are not part of any OpenCL version:
cl_khr_int64_extended_atomics not started
cl_khr_integer_dot_product DONE
cl_khr_mipmap_image not started
cl_khr_pci_bus_info DONE (iris, nvc0, radeonsi)
cl_khr_pci_bus_info DONE (iris, nvc0, radeonsi, zink)
cl_khr_priority_hints not started
cl_khr_spirv_extended_debug_info not started
cl_khr_spirv_linkonce_odr not started

View File

@ -649,7 +649,7 @@ impl Device {
pipe_loader_device_type::NUM_PIPE_LOADER_DEVICE_TYPES => CL_DEVICE_TYPE_CUSTOM,
};
if internal && res == CL_DEVICE_TYPE_GPU {
if internal && res == CL_DEVICE_TYPE_GPU && self.screen.driver_name() != "zink" {
res |= CL_DEVICE_TYPE_DEFAULT;
}

View File

@ -56,6 +56,7 @@ librusticl = shared_library(
driver_panfrost,
driver_radeonsi,
driver_swrast,
driver_zink,
idep_nir,
idep_vtn,
],