6 ms·
ClojureCL is driver-agnostic. As long as the OpenCL platform implementation (POCL) is OpenCL-compliant, ClojureCL should work (but I have not tried). Regarding
by dragandj 9y ago
ClojureCL is driver-agnostic. As long as the OpenCL platform implementation (POCL) is OpenCL-compliant, ClojureCL should work (but I have not tried).
Regarding profiling/benchmarking, you can measure wall-clock time very precisely with Criterium, and you can also use kernel profiling built into OpenCL, as explained in OpenCL in Action and demonstrated here: https://github.com/uncomplicate/clojurecl/blob/master/test/clojure/uncomplicate/clojurecl/examples/openclinaction/ch07.clj https://github.com/uncomplicate/clojurecl/blob/master/test/c...
- geokon 9y agoThanks for getting back to me and thanks for your amazing work. Seems POCL doesn't support a few things: http://portablecl.org/docs/html/features.html http://portablecl.org/docs/html/features.html I'll need to dig around a bit more. The OpenCL drivers are a rather confusing mess (especially on the open source side of things)
- dragandj 9y agoOTOH, even Intel CPUs support OpenCL, so practically there aren't such many cases where you can't work with a "real" OpenCL implementation.