RustiCL: clEnqueueMarkerWithWaitList is not setting the event as CL_COMPLETE when the deps are already completed
If you call clEnqueueMarkerWithWaitList() with a list of events (event_wait_list
) which are all already in status CL_COMPLETE
, the output event is not set to CL_COMPLETE
.
You can force the status to update calling to clWaitForEvents() on the output event. Unfortunately, if you set a callback on such event, it is never called (unless you call clWaitForEvents() to force it to update, of course)
glxinfo:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX Vega (radeonsi, vega10, LLVM 16.0.6, DRM 3.57, 6.7.5-arch1-1) (0x687f)
Version: 24.0.1
Accelerated: yes
Video memory: 8192MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 7333 MB, largest block: 7333 MB
VBO free aux. memory - total: 23875 MB, largest block: 23875 MB
Texture free memory - total: 7333 MB, largest block: 7333 MB
Texture free aux. memory - total: 23875 MB, largest block: 23875 MB
Renderbuffer free memory - total: 7333 MB, largest block: 7333 MB
Renderbuffer free aux. memory - total: 23875 MB, largest block: 23875 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 32255 MB
Currently available dedicated video memory: 7333 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX Vega (radeonsi, vega10, LLVM 16.0.6, DRM 3.57, 6.7.5-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.0.1-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.0.1-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.0.1-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
clinfo:
Platform Name rusticl
Platform Vendor Mesa/X.org
Platform Version OpenCL 3.0
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_byte_addressable_store cl_khr_create_command_queue cl_khr_expect_assume cl_khr_extended_versioning cl_khr_icd cl_khr_il_program cl_khr_spirv_no_integer_wrap_decoration
Platform Extensions with Version cl_khr_byte_addressable_store 0x400000 (1.0.0)
cl_khr_create_command_queue 0x400000 (1.0.0)
cl_khr_expect_assume 0x400000 (1.0.0)
cl_khr_extended_versioning 0x400000 (1.0.0)
cl_khr_icd 0x400000 (1.0.0)
cl_khr_il_program 0x400000 (1.0.0)
cl_khr_spirv_no_integer_wrap_decoration 0x400000 (1.0.0)
Platform Numeric Version 0xc00000 (3.0.0)
Platform Extensions function suffix MESA
Platform Host timer resolution 1ns
Platform Name rusticl
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Portable Computing Language
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [POCL]
clCreateContext(NULL, ...) [default] Success [POCL]
clCreateContext(NULL, ...) [other]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Portable Computing Language
Device Name cpu-AMD Ryzen 7 2700X Eight-Core Processor
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) Success (1)
Platform Name Portable Computing Language
Device Name cpu-AMD Ryzen 7 2700X Eight-Core Processor
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name Portable Computing Language
Device Name cpu-AMD Ryzen 7 2700X Eight-Core Processor
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.3.2
ICD loader Profile OpenCL 3.0
Edited by Jose Luis Cercos-Pita