Skip to content

af::where segfaults in the OpenCL backend #1259

@mchandra

Description

@mchandra

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");
 }   

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions