llvmpipe: enable system SVM
The API bits are already implemented in clover and rusticl and by definition a CPU driver implements SVM. This should allow anybody to work on proper SyCL/CHIP-SPV support for rusticl running llvmpipe. Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24092>
This commit is contained in:
@@ -701,7 +701,7 @@ Clover OpenCL 1.2 -- all DONE:
|
|||||||
|
|
||||||
Clover OpenCL 2.0 -- all DONE:
|
Clover OpenCL 2.0 -- all DONE:
|
||||||
|
|
||||||
Shared virtual memory DONE (nvc0)
|
Shared virtual memory DONE (nvc0, llvmpipe)
|
||||||
Device queues not started
|
Device queues not started
|
||||||
- cl_khr_create_command_queue not started
|
- cl_khr_create_command_queue not started
|
||||||
- Additional queries for clGetDeviceInfo not started
|
- Additional queries for clGetDeviceInfo not started
|
||||||
@@ -856,7 +856,7 @@ Rusticl OpenCL 1.2 -- all DONE:
|
|||||||
|
|
||||||
Rusticl OpenCL 2.0 -- all DONE:
|
Rusticl OpenCL 2.0 -- all DONE:
|
||||||
|
|
||||||
Shared virtual memory in progress (nvc0)
|
Shared virtual memory in progress (nvc0, llvmpipe)
|
||||||
Device queues not started
|
Device queues not started
|
||||||
- cl_khr_create_command_queue DONE
|
- cl_khr_create_command_queue DONE
|
||||||
- Additional queries for clGetDeviceInfo DONE
|
- Additional queries for clGetDeviceInfo DONE
|
||||||
|
@@ -358,6 +358,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
|
|||||||
case PIPE_CAP_SHADER_CLOCK:
|
case PIPE_CAP_SHADER_CLOCK:
|
||||||
case PIPE_CAP_PACKED_UNIFORMS:
|
case PIPE_CAP_PACKED_UNIFORMS:
|
||||||
return 1;
|
return 1;
|
||||||
|
case PIPE_CAP_SYSTEM_SVM:
|
||||||
|
return 1;
|
||||||
case PIPE_CAP_ATOMIC_FLOAT_MINMAX:
|
case PIPE_CAP_ATOMIC_FLOAT_MINMAX:
|
||||||
return LLVM_VERSION_MAJOR >= 15;
|
return LLVM_VERSION_MAJOR >= 15;
|
||||||
case PIPE_CAP_NIR_IMAGES_AS_DEREF:
|
case PIPE_CAP_NIR_IMAGES_AS_DEREF:
|
||||||
|
Reference in New Issue
Block a user