Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev/cuda] Added warpsize as a constant expr for dev/cuda files #438

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lancerts
Copy link
Contributor

No description provided.

@lancerts lancerts marked this pull request as ready for review May 20, 2024 00:31
@@ -61,6 +61,9 @@ version 11 is kernel 10 skipping FP16/FP32 conversions (full FP16/BF16 network)
// CUDA & cuDNN setup
static bool first_run_validation = true; // always run e.g. permute on 1st run

// WarpSize set as the compile time constant, this allows the compiler to optimize
constexpr int WARP_SIZE = 32;
Copy link
Contributor

Choose a reason for hiding this comment

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

this should probably go into common.h

@lancerts lancerts changed the title Added warpsize as a constant expr for dev/cuda files [dev/cuda] Added warpsize as a constant expr for dev/cuda files Jun 3, 2024
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.

None yet

2 participants