IMX8 OpenCL SPIR Extension support

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8 OpenCL SPIR Extension support

1,938 次查看
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

标记 (2)
0 项奖励
回复
3 回复数

1,243 次查看
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 项奖励
回复

1,243 次查看
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 项奖励
回复

1,243 次查看
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 项奖励
回复