weixin_39605647
weixin_39605647
2020-12-01 19:50

computecpp-sdk/samples/custom-device-selector.cpp checks for "cl_khr_spir" extension only

Hi, the test case computecpp-sdk/samples/custom-device-selector.cpp is only checking for support for cl_khr_spir, if a device supports SPIRV, it will return cl_khr_il_program. Is this sample not meant for such platforms that support SPIR-V?

该提问来源于开源项目:codeplaysoftware/computecpp-sdk

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

6条回答