Skip to content

Printf-alternative blog files#52

Merged
nvjonwong merged 1 commit intomasterfrom
printf-alternative
May 10, 2023
Merged

Printf-alternative blog files#52
nvjonwong merged 1 commit intomasterfrom
printf-alternative

Conversation

@nvjonwong
Copy link
Copy Markdown
Contributor

Printf-alternative

Often times users may be tempted to use printf to signal soft warnings; however the compiler may reserve extra registers for printf even if the warning rarely occurs. This in turn can affect performance. The CASerror.h header-only library implements a performant soft-warning printf-alternative using cuda atomics and system pinned memory. An example of how to use this header-only library in action is provided in main.cu.

@nvjonwong nvjonwong requested review from harrism and luitjens May 2, 2023 23:35
@nvjonwong nvjonwong self-assigned this May 2, 2023
@nvjonwong nvjonwong force-pushed the printf-alternative branch from bdc16c5 to 6cc699a Compare May 10, 2023 19:52
@nvjonwong nvjonwong merged commit 3a495ce into master May 10, 2023
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.

1 participant