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:
@@ -850,7 +850,7 @@ Rusticl OpenCL 1.2 -- all DONE:
|
|||||||
clEnqueueMarkerWithWaitList DONE
|
clEnqueueMarkerWithWaitList DONE
|
||||||
clEnqueueBarrierWithWaitList DONE
|
clEnqueueBarrierWithWaitList DONE
|
||||||
clUnloadPlatformCompiler 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
|
printf DONE
|
||||||
CL_KERNEL_ATTRIBUTES for clGetKernelInfo DONE
|
CL_KERNEL_ATTRIBUTES for clGetKernelInfo DONE
|
||||||
OpenCL C 1.2 DONE
|
OpenCL C 1.2 DONE
|
||||||
@@ -870,7 +870,7 @@ Rusticl OpenCL 2.0 -- all DONE:
|
|||||||
- from sRGB images in progress
|
- from sRGB images in progress
|
||||||
clCreateSamplerWithProperties DONE
|
clCreateSamplerWithProperties DONE
|
||||||
Non-uniform work-group sizes not started
|
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
|
OpenCL C 2.0 in progress
|
||||||
- Work-group Collective Functions not started
|
- Work-group Collective Functions not started
|
||||||
- Generic address space in progress
|
- Generic address space in progress
|
||||||
@@ -881,7 +881,7 @@ Rusticl OpenCL 2.1 -- all DONE:
|
|||||||
Sub groups DONE (iris, llvmpipe, radeonsi)
|
Sub groups DONE (iris, llvmpipe, radeonsi)
|
||||||
- cl_khr_subgroups in progress
|
- cl_khr_subgroups in progress
|
||||||
cl_khr_il_program DONE
|
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)
|
clEnqueueSVMMigrateMem in progress (nvc0/gp100, broken)
|
||||||
clCloneKernel DONE
|
clCloneKernel DONE
|
||||||
Default device command queue not started
|
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_copy_fence not started
|
||||||
cl_khr_async_work_group_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_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_event not started
|
||||||
cl_khr_egl_image not started
|
cl_khr_egl_image not started
|
||||||
cl_khr_expect_assume in progress (hints are ignored)
|
cl_khr_expect_assume in progress (hints are ignored)
|
||||||
cl_khr_extended_async_copies not started
|
cl_khr_extended_async_copies not started
|
||||||
cl_khr_extended_bit_ops in progress
|
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_depth_images not started
|
||||||
cl_khr_gl_msaa_sharing not started
|
cl_khr_gl_msaa_sharing not started
|
||||||
cl_khr_gl_sharing in progress
|
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_int64_extended_atomics not started
|
||||||
cl_khr_integer_dot_product DONE
|
cl_khr_integer_dot_product DONE
|
||||||
cl_khr_mipmap_image not started
|
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_priority_hints not started
|
||||||
cl_khr_spirv_extended_debug_info not started
|
cl_khr_spirv_extended_debug_info not started
|
||||||
cl_khr_spirv_linkonce_odr not started
|
cl_khr_spirv_linkonce_odr not started
|
||||||
|
@@ -649,7 +649,7 @@ impl Device {
|
|||||||
pipe_loader_device_type::NUM_PIPE_LOADER_DEVICE_TYPES => CL_DEVICE_TYPE_CUSTOM,
|
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;
|
res |= CL_DEVICE_TYPE_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -56,6 +56,7 @@ librusticl = shared_library(
|
|||||||
driver_panfrost,
|
driver_panfrost,
|
||||||
driver_radeonsi,
|
driver_radeonsi,
|
||||||
driver_swrast,
|
driver_swrast,
|
||||||
|
driver_zink,
|
||||||
idep_nir,
|
idep_nir,
|
||||||
idep_vtn,
|
idep_vtn,
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user