The following code segfaults in the OpenCL backend but runs fine with CPU backend: ``` array a = af::randu(10, 10, 10); array indices = where(a > 2); if (indices.elements() == 0) { printf("no elements found\n"); } ```
The following code segfaults in the OpenCL backend but runs fine with CPU backend: