FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[BUG] Matmul with fp16 resulting in some NaN values · Issue #3674 · arrayfire/arrayfire · GitHub

Repository navigation

[BUG] Matmul with fp16 resulting in some NaN values #3674

Description

The OpenCL backend test for ConvolveStrided in convolve.cpp fails for half (fp16) data type due to NaN appearing in the array which is a result of the matmul operation done upstream. The library used for matrix multiplication is clblast which may have this related issue.

Description

  • Built Arrayfire commit eaa49ca
  • Which backend is experiencing this issue? OpenCL
  • Do you have a workaround?: Forcing internatlly cast to float before the matrix operation resolves it
  • Can the bug be reproduced reliably on your system? Yes

Reproducible Code and/or Steps

Run test_convolve_opencl. Reproducible with CPU, Nvidia, and Intel GPUs

Activity

  1. christophe-murphy commented on Jul 8, 2025

    Contributor

    Looks like this is an upstream issue with CLBlast

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

Metadata

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


      Back | FazBrowse Home | New Git URL