GPU Assertion failure: math/arrayfire

17 views
Skip to first unread message

Ak

unread,
Mar 1, 2026, 9:08:11 PM (4 days ago) Mar 1
to fo...@jsoftware.com
I hope you are all well.

J9.7.0-beta12

I am trying to run arrayfire tutorials and I get assertion failures.


     load'math/arrayfire'
     init_jaf_'cuda'
     tut_jaf_'memory'
     ctrl-j
     freeall_jaf_''
|assertion failure in assert
| the result was expected to be all 1
|     y['bad af array'              assert(''-:$y)*. y e. AFS
| [-1]


The same instructions seem to be working in without failure in J9.6.0.




Ak

Eric Iverson

unread,
Mar 2, 2026, 11:03:13 AM (4 days ago) Mar 2
to fo...@jsoftware.com
AK,

I will look at your arrayfire problem later today.

To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Ak

unread,
Mar 2, 2026, 12:09:06 PM (4 days ago) Mar 2
to fo...@jsoftware.com
Thank you Eric.

Akinbo

Eric Iverson

unread,
Mar 2, 2026, 2:00:53 PM (4 days ago) Mar 2
to fo...@jsoftware.com
AK,
At first I was worried as you are using 'cuda', but I can reproduce the bug with 'cpu' and it looks like it has nothing to do with arrayfire.

I am passing on a simple test case to Henry and with luck you'll hear of a fix shortly.

Ak

unread,
Mar 2, 2026, 7:01:31 PM (3 days ago) Mar 2
to fo...@jsoftware.com
Sounds great, I  appreciate your help.
Reply all
Reply to author
Forward
0 new messages