Single binary with -sycl-target ptx64 and host cpu?

#1

Is it possible to build a binary that supports both the native cpu target (intel opencl) and nVIDIA ptx64?

When I build with -sycl-target ptx64 I can run on nVIDIA but not on the host cpu?

Running on Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz  - Intel(R) Corporation
Error: [ComputeCpp:RT0107] Failed to create program from binary
#2

Hi Jan, this isn’t currently possible but is something we are looking into.

1 Like