uncomplicate.clojurecl.toolbox

Various helpers that are not needed by ClojureCL itself, but may be very helpful in applications. See Neanderthal library for the examples of how to use it.

count-work-groups

(count-work-groups max-local-size n)

enq-read-double

(enq-read-double queue cl-buf)

enq-read-float

(enq-read-float queue cl-buf)

enq-read-int

(enq-read-int queue cl-buf)

enq-read-long

(enq-read-long queue cl-buf)

enq-reduce

(enq-reduce queue main-kernel reduction-kernel n local-n)(enq-reduce queue main-kernel reduction-kernel m n local-m local-n & [wgs-m wgs-n])