Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Kernel exception in findfirst #595

Closed

Description

MWE:

using CuArrays
xs = cu(rand(10,3,7))
findmin(xs, dims=1)

This simple script blows up with a kernel exception. Logs from running this with julia -g2 are in this gist. This only happens when dims=1, other dims look fine.

The offending code is in findfirst; somehow only the first row of indices is populated; the other two are filled with typemax(Int) after kernel is run.

CuArrays 1.7.2; Julia 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions