NVIDIA / NVIDIA/cccl

[BUG]: Investigate whether `::tbb::split" constructors inhibit race conditions

Open
#2,277 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

### Is this a duplicate?

- [X] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)

### Type of Bug

Silent Failure

### Component

Thrust

### Describe the bug

Tracks #844.

There is the potential of tbb split constructors creating data races as explained in #844. This tracks whether data races appear in the following tbb split body implementations:

- [ ] [exclusive_scan](https://github.com/NVIDIA/cccl/blob/529f9106138a259affdf7aa2eacd4f2b290ebef9/thrust/thrust/system/tbb/detail/scan.inl#L164)
- [ ] inclusive_scan (to be added)
- [ ] [reduce](https://github.com/NVIDIA/cccl/issues/844)
- [ ] [merge](https://github.com/NVIDIA/cccl/blob/529f9106138a259affdf7aa2eacd4f2b290ebef9/thrust/thrust/system/tbb/detail/merge.inl#L78)

### How to Reproduce

See #844

### Expected behavior

See #844

### Reproduction link

_No response_

### Operating System

_No response_

### nvidia-smi output

_No response_

### NVCC version

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.