IMX8 OpenCL SPIR Extension support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8 OpenCL SPIR Extension support

2,056 Views
parthasarathyr
Contributor III

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

Tags (2)
0 Kudos
Reply
3 Replies

1,361 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

1,361 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

1,361 Views
parthasarathyr
Contributor III

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

0 Kudos
Reply