You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CL_DEVICE_TYPE_* constants are defined in CL/cl.h, which may be unavailable for non-opencl-based backends. How about providing using dummy vex::Filter::GPU, vex::Filter::CPU, vex::Filter::Accelerator instead?
ctx = new vex::Context(
vex::Filter::Type(CL_DEVICE_TYPE_GPU) &&
vex::Filter::DoublePrecision &&
vex::Filter::Count(1)
);
I think vex should define a dummy func in this case, so the client code no matter which backend it choose to use.
The text was updated successfully, but these errors were encountered: