Skip to content

atomic.add operation leads to incorrect results #774

@diptorupd

Description

@diptorupd

A test micro-benchmark implemented in dpbench (https://github.com/IntelPython/dpbench/blob/main/dpbench/benchmarks/l2_distance/l2_distance_numba_dpex_k.py) produces incorrect results. The most likely culprit is the usage of atomic.add.

The generated code for numba-dpex's atomic add function needs to be evaluated v/s dpcpp.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions