Confirming SPIR support for my GPU?

I’m trying to learn SYCL, but I’m not sure if my GPU is supported. I have an AMD Ryzen 3700U in a ThinkPad T495. It has an embedded Vega 10 GPU.

It appears to support OpenCL, according to the AMD Radeon Settings app on Windows 10.

However, it’s not clear if this GPU supports SPIR. In particular, I’ve tried using Codeplay’s ComputeCpp product. I have it working in host mode, but not on the GPU.

How can I learn more about SPIR and this GPU?

1 Like

The first thing to do is to run the “computecpp_info” tool that comes with ComputeCpp. This is located in the “bin” folder of the release package. This will output what devices are on the machine and which are supported by ComputeCpp.
Note that this relies on you having the correct drivers installed, for AMD hardware this requires some quite old drivers, there’s more information if you search on Google for AMD SYCL and the fourth link or so down is on the AMD forums discussing the status of SPIR support. (I am not allowed to post links on this forum for some reason otherwise I would link directly)

1 Like