Skip to content

Commit

Permalink
GPU: Fix compilation without Vc.
Browse files Browse the repository at this point in the history
  • Loading branch information
fweig authored and davidrohr committed Jan 22, 2025
1 parent 47eb04f commit e082562
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ GPUd() void GPUTPCCFCheckPadBaseline::Thread<0>(int32_t nBlocks, int32_t nThread
maxConsecCharges[localpad] = CAMath::Max(maxConsecCharges[localpad], consecCharges[localpad]);

const Charge unpackedCharge = Charge(packedCharge) / Charge(1 << PackedCharge::DecimalBits);
maxCharge[localPadId] = CAMath::Max<Charge>(maxCharge[localPad], unpackedCharge);
maxCharge[localpad] = CAMath::Max<Charge>(maxCharge[localpad], unpackedCharge);
} else {
consecCharges[localpad] = 0;
}
Expand Down

0 comments on commit e082562

Please sign in to comment.