Skip to content

Conversation

@yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Jun 11, 2024

We declare multiple kernels inside the sampling.cuh and they use dynamic shared memory (with the same extern variable name) with different alignment requirements (e.g. some are alignof 4, some are alignof 64).

In this PR we use different names for extern variable that have different alignment requirements to suppress the warning.

@yzh119 yzh119 merged commit 1250b68 into main Jun 11, 2024
@yzh119 yzh119 deleted the fix-alignment branch June 14, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants