uncomplicate.clojurecuda.toolbox

Various helpers that are not needed by ClojureCUDA itself, but may be very helpful in applications. See Neanderthal and Bayadera libraries for the examples of how to use them.

launch-reduce!

(launch-reduce! hstream main-kernel reduction-kernel main-params reduction-params n local-n)(launch-reduce! hstream main-kernel reduction-kernel main-params reduction-params m n local-m local-n)

read-double

(read-double cu-buf)(read-double hstream cu-buf)

read-float

(read-float cu-buf)(read-float hstream cu-buf)

read-int

(read-int cu-buf)(read-int hstream cu-buf)

read-long

(read-long cu-buf)(read-long hstream cu-buf)