Hi,
With respect to our initial verification it looks like IMX8 OpenCL library doesn't support SPIR extension.
Is there any updated module available for IMX8 with SPIR support?
Thanks in advance,
Partha
Hello,
Currently we don't have plan to support cl_khr_fp16 and cl_khr_spir extensions in OpenCL 1.2 driver. We may support cl_khr_spir in OpenCL 2.3 driver (in 2019) if SPIRV support is required in CL 2.3 Spec. The current generation GC7000* HWs cannot fully support cl_khr_fp16 functions
Regards
Hello Parthasarathy,
Yes, opencl is embedded opencl1.2 profile, it only supports limited number of extensions.
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_gl_sharing
SPIR extension is enabled from vulkan 1.2.
The current VSI vulkan is 1.0.59, so, it doesn't support SPIR.
You can run /opt/imx-gpu-sdk/Vulkan/VulkanInfo/VulkanInfo application in the release to get Vulkan information of your platform.
Regards
Hello Bio_TICFSL
As per the document, IMX8M supports OpenCL 1.2 Full Profile, but your reply points that it falls in embedded profile. Please clarify on this.
SPIR support seems to be OpenCL library specific(software specific), is that correct?
Also looks like SPIR 1.2 is independent of vulkan, any possibility of getting SPIR support in future?
Thanks,
Partha