Skip to content

Commit

Permalink
more format string fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hcmh committed Dec 19, 2024
1 parent 03c72d3 commit 5486954
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/num/multind.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ void md_copy2(int D, const long dim[D], const long ostr[D], void* optr, const lo

NESTED(void, nary_strided_copy, (void* ptr[]))
{
debug_printf(DP_DEBUG4, "CUDA 2D copy %ld %ld %ld %ld %ld %ld\n",
debug_printf(DP_DEBUG4, "CUDA 2D copy %ld %ld %ld %ld %p %p\n",
sizesp[0], sizesp[1], ostr2, istr2, nptrp[0], nptrp[1]);

cuda_memcpy_strided(sizesp, ostr2, ptr[0], istr2, ptr[1]);
Expand Down
6 changes: 3 additions & 3 deletions utests/test_flpmath.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static bool test_md_zfmacc2(void)

for (unsigned long flags = 0UL; flags < 16UL; flags++) {

debug_printf(DP_DEBUG1, "Testing md_zfmacc2_flags with flags=%d\n", flags);
debug_printf(DP_DEBUG1, "Testing md_zfmacc2_flags with flags=%lu\n", flags);

ret &= test_md_zfmacc2_flags(4, idims, flags, test_md_in0, test_md_in1, test_md_zfmacc2_out[flags]);
}
Expand Down Expand Up @@ -102,7 +102,7 @@ static bool test_md_zwavg(void)

for (unsigned long flags = 0UL; flags < 16UL; flags++) {

debug_printf(DP_DEBUG1, "Testing md_zwavg_flags with flags=%d\n", flags);
debug_printf(DP_DEBUG1, "Testing md_zwavg_flags with flags=%lu\n", flags);

ret &= test_md_zavg_flags(4, idims, flags, test_md_in0, test_md_zwavg_out[flags], wavg);
}
Expand All @@ -120,7 +120,7 @@ static bool test_md_zavg(void)

for (unsigned long flags = 0UL; flags < 16UL; flags++) {

debug_printf(DP_DEBUG1, "Testing md_zavg_flags with flags=%d\n", flags);
debug_printf(DP_DEBUG1, "Testing md_zavg_flags with flags=%lu\n", flags);

ret &= test_md_zavg_flags(4, idims, flags, test_md_in0, test_md_zavg_out[flags], wavg);
}
Expand Down

0 comments on commit 5486954

Please sign in to comment.