Skip to content

Conversation

@artv3
Copy link
Member

@artv3 artv3 commented Feb 3, 2025

Summary

This test modifies an existing kernel to use direct threading.


#if defined(RAJA_ENABLE_CUDA) || defined(RAJA_ENABLE_HIP)
#define GPU_FOREACH_THREAD_DIRECT(i, k, N) \
if(int i = threadIdx.k; i < N)

Choose a reason for hiding this comment

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

I am confused about this line, @artv3 - did you intend for this to be an if statement?

Choose a reason for hiding this comment

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

never mind, I seem to understand what the code is doing now

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.

3 participants