Skip to content

Commit

Permalink
fix GmmaDescriptor print format string error (NVIDIA#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
reed-lau authored Sep 20, 2023
1 parent 8783c41 commit e0aaa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cute/arch/mma_sm90_desc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ union GmmaDescriptor
CUTE_HOST_DEVICE friend void print(GmmaDescriptor const& t)
{
#if !defined(__CUDACC_RTC__)
printf("GmmaDescriptor: 0x%016 %lli\n", static_cast<long long>(t.desc_));
printf("GmmaDescriptor: 0x%016llx\n", static_cast<unsigned long long>(t.desc_));
printf(" start_addr : 0x%04x\n", t.bitfield.start_address_);
printf(" leading_off: 0x%04x (%d)\n", t.bitfield.leading_byte_offset_, t.bitfield.leading_byte_offset_);
printf(" stride_off : 0x%04x (%d)\n", t.bitfield.stride_byte_offset_, t.bitfield.stride_byte_offset_);
Expand Down

0 comments on commit e0aaa3c

Please sign in to comment.