Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Block local memory tests on pascal #329

Merged
merged 3 commits into from
Nov 4, 2022
Merged

Conversation

wmaxey
Copy link
Member

@wmaxey wmaxey commented Nov 3, 2022

Pascal cannot use the general scoped atomics for .local memory, I don't know if it can use the .local scoped atomics to avoid this issue which is our next planned refactor. This is not the case for SM_70 and doesn't appear to be documented anywhere. This PR then changes all the tests to instead exclusively test shared/global memory on Pascal.

PR makes Pascal tests happy which in turn makes CI happy.
https://blossom.nvidia.com/sw-cuda-cccl-instance/blue/organizations/jenkins/cluster_launch_test/detail/cluster_launch_test/311/pipeline/1062

@wmaxey wmaxey added the testing: internal ci in progress Currently testing on internal NVIDIA CI (DVS). label Nov 3, 2022
@wmaxey wmaxey requested a review from griwes November 3, 2022 23:44
@wmaxey wmaxey self-assigned this Nov 3, 2022
Copy link
Collaborator

@griwes griwes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than the one comment.

@wmaxey wmaxey requested a review from griwes November 4, 2022 04:31
@@ -18,9 +18,13 @@

#include "test_macros.h"

// NVRTC doesn't include host atomic making this feature test invalid
// TODO: Should we define __cpp_lib_atomic_is_always_lock_free for NVRTC?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@griwes Food for thought regarding macro. We don't do this now for anything so it's going to have to be another PR.

@wmaxey wmaxey added testing: internal ci passed Passed internal NVIDIA CI (DVS). and removed testing: internal ci in progress Currently testing on internal NVIDIA CI (DVS). labels Nov 4, 2022
@jrhemstad
Copy link
Collaborator

@wmaxey can you update the PR description with what this change is for?

@wmaxey wmaxey merged commit 3a5a94d into main Nov 4, 2022
@wmaxey wmaxey deleted the bugfix/pascal_local_memory_selector branch November 4, 2022 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing: internal ci passed Passed internal NVIDIA CI (DVS).
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants