Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add support for bf16 for afoneapi/afcuda

Open
#3,470 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
hpc, performance

Research direction

Start with include/af/defines.h, then read the linked CUDA bf16 header and the issue's requirements for NVIDIA GPUs and fourth-generation Intel CPUs. Determine how the new datatype must be represented for AVX512BF16/AMX and CUDA; done means bf16 is available for the requested targets without adding a new API.

Written by the indexing model from the issue text.

Description

feature

Add suppor for bf16 datatype
https://github.com/arrayfire/arrayfire/blob/master/include/af/defines.h
for :

Description

  • Additional information about the feature you would like to add
    bf16 datatype

  • What problem are you trying to solve?
    computation at bf16 precision

  • (Optional) API of new function
    No new API, just a new type in defines.h

  • (Optional)Are there other libraries that implement this feature?
    pytorch, numpy, oneDNN, ...

Dominant language
C++
Stars
4.9k
Forks
555
Avg merge
1h 24m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arrayfire/arrayfire

All issues in arrayfire/arrayfire

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.