Closed pfeodrippe closed 5 years ago
It may be a problem with Apple's (abandoned) OpenCL implementation or Intel's HD, since I can't reproduce it on neither AMD nor Nvidia:
(cl/with-default-1
(with-release [opencl-factory (opencl/opencl-float cl/*context* cl/*command-queue*)]
(with-release [m1 (ge opencl-factory 3 3 [1 2 3 4 5 6 7 8 9])]
(trans! m1)
(transfer m1))))
#RealGEMatrix[float, mxn:3x3, layout:column, offset:0]
▥ ↓ ↓ ↓ ┓
→ 1.00 2.00 3.00
→ 4.00 5.00 6.00
→ 7.00 8.00 9.00
┗ ┛
Apple is a mess... thank you, @blueberry!
Sorry for bringing these problems here.
Don't worry. This is what issues are for.
@blueberry Shame on me, this error happens only with the CPU device ("Intel(R) Core(TM) i7-3520M CPU @ 2.90GHzIntel(R) Core(TM) i7-3520M CPU @ 2.90GHz"), not with the HD Graphics 4000.
I was running with the first device and it was the CPU :P
I can't reproduce with Intel's OpenCL platform and Intel's CPU on Linux. Works as expected...
I'm running
and the output is
where it should have been
while
trans
works correctly.