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

return 0 in case of invalid detId, fixes cuda sign conversion warning #45223

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
return 0 in case of invalid detId, fixes cuda sign conversion warning
  • Loading branch information
smuzaffar committed Jun 14, 2024
commit 6209caf88b6fdc719ab0b0d16fbf404f9f470dbf
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::particleFlowRecHitProducer {
return detId2denseIdHE(detId);

printf("invalid detId: %u\n", detId);
return -1;
return 0;
}
};