cuda: nvidia gpu. mkl: intel & amd cpu. opencl: intel & amd cpu, intel & amd gpu.
@blueberry will your books ever be released without the need to subscribe?
i tried to execute the code from: https://dragan.rocks/articles/18/Neanderthal-vs-ND4J-vol5
the following code prints the data to the console and also throws an error:
(let [n 10]
(with-release [x (fmap! random (unn/fv n))]
(println x)))
_*#RealBlockVector[float, n:10, offset: 0, stride:1]*_ _*[ 0.36 0.40 0.11 ⋯ 0.44 0.39 ]*_ _*Execution error (IllegalAccessError) at uncomplicate.commons.core/eval33105$fn (core.clj:69).*_ _*class uncomplicate.commons.core$eval33105$fn__33106 (in unnamed module @0x764af06a) cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module @0x764af06a*_
any ideas what might be going wrong here?!
I've tried this with neanderthal 0.26.1 and 0.27.0, same output
@veix.q5 you need to either enable this JVM option:
:jvm-opts ^:replace ["--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED"]
if you on Java 9+, or use Java 8.
See https://github.com/uncomplicate/neanderthal/blob/master/examples/hello-world/project.clj
Regarding the books: Version 1.0.0 will be available for purchase (through a special Patreon tier subscription that you can cancel as soon as you download the book).