From e0aaa3c3b38db9a89c31f04fef91e92123ad5e2e Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 20 Sep 2023 11:27:58 +0800 Subject: [PATCH] fix GmmaDescriptor print format string error (#1102) --- include/cute/arch/mma_sm90_desc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cute/arch/mma_sm90_desc.hpp b/include/cute/arch/mma_sm90_desc.hpp index fd83e71f..ae647eb9 100644 --- a/include/cute/arch/mma_sm90_desc.hpp +++ b/include/cute/arch/mma_sm90_desc.hpp @@ -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(t.desc_)); + printf("GmmaDescriptor: 0x%016llx\n", static_cast(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_);