Fork me on GitHub
#uncomplicate
<
2020-02-09
>
blueberry09:02:50

cuda: nvidia gpu. mkl: intel & amd cpu. opencl: intel & amd cpu, intel & amd gpu.

✔️ 4
quadron18:02:01

@blueberry will your books ever be released without the need to subscribe?

quadron19:02:50

the following code prints the data to the console and also throws an error:

quadron19:02:55

(let [n 10] (with-release [x (fmap! random (unn/fv n))] (println x)))

quadron19:02:59

_*#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*_

quadron19:02:27

any ideas what might be going wrong here?!

quadron19:02:49

I've tried this with neanderthal 0.26.1 and 0.27.0, same output

blueberry20:02:05

@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).

✔️ 4