Skip to content

Avoid use of class static variable in device function#7776

Open
miscco wants to merge 1 commit intoNVIDIA:mainfrom
miscco:avoid_device_items_per_tile
Open

Avoid use of class static variable in device function#7776
miscco wants to merge 1 commit intoNVIDIA:mainfrom
miscco:avoid_device_items_per_tile

Conversation

@miscco
Copy link
Contributor

@miscco miscco commented Feb 24, 2026

We should not use a class static member in a device function, because it is not defined there.

Luckily those tests do not need to be defined as __device__ anyway

Fixes nvbug5925530

@miscco miscco requested a review from a team as a code owner February 24, 2026 10:55
@miscco miscco requested a review from gevtushenko February 24, 2026 10:55
@github-project-automation github-project-automation bot moved this to Todo in CCCL Feb 24, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Feb 24, 2026
@github-actions

This comment has been minimized.

We should not use a class static member in a device function, because it is not defined there.

Luckily those tests do not need to be defined as `__device__` anyway

Fixes nvbug5925530
@miscco miscco force-pushed the avoid_device_items_per_tile branch from 1f7119e to 5a7984d Compare February 26, 2026 07:57
@bernhardmgruber bernhardmgruber changed the title Avoid use of class stati variable in device function Avoid use of class static variable in device function Feb 26, 2026
@github-actions
Copy link
Contributor

😬 CI Workflow Results

🟥 Finished in 3h 14m: Pass: 76%/213 | Total: 5d 03h | Max: 3h 13m | Hits: 86%/104730

See results here.

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

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

3 participants