rusticl: experimental support for cl_khr_fp16

Hidden behind `RUSTICL_ENABLE=fp16` for now as the OpenCL CTS doesn't have
enough fp16 tests at the moment. There has been a lot of work on it though,
so hopefully we can enable and verify it soon.

Additionally libclc also misses a bunch of fp16 functionality, so most of
the tests would also just crash.

However this flag is useful for development as it already wires up most of
the code needed.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Nora Allen <blackcatgames@protonmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23788>
This commit is contained in:
Karol Herbst
2023-06-17 22:15:58 +02:00
committed by Marge Bot
parent 6ae801c4d8
commit 29b4c1a09f
6 changed files with 36 additions and 6 deletions

View File

@@ -918,7 +918,7 @@ Rusticl extensions that are not part of any OpenCL version:
cl_khr_expect_assume in progress
cl_khr_extended_async_copies not started
cl_khr_extended_bit_ops in progress
cl_khr_fp16 not started
cl_khr_fp16 in progress (llvmpipe, radeonsi, 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