From 34fd98056b69fbf7f0929b3f734bb5f00642e2c9 Mon Sep 17 00:00:00 2001 From: Aman Gupta Karmani Date: Tue, 29 Aug 2023 14:59:33 -0400 Subject: [PATCH] fix cinttypes issue with STDC_FORMAT_MACROS (#1068) * fix cinttypes issue with STDC_FORMAT_MACROS * Update mma_sm90_desc.hpp * Update mma_sm90_desc.hpp --------- Co-authored-by: Haicheng Wu <57973641+hwu36@users.noreply.github.com> --- include/cute/arch/mma_sm90_desc.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/cute/arch/mma_sm90_desc.hpp b/include/cute/arch/mma_sm90_desc.hpp index 69469d56..fd83e71f 100644 --- a/include/cute/arch/mma_sm90_desc.hpp +++ b/include/cute/arch/mma_sm90_desc.hpp @@ -31,10 +31,6 @@ #pragma once -#if !defined(__CUDACC_RTC__) -#include -#endif - #include #include @@ -144,7 +140,7 @@ union GmmaDescriptor CUTE_HOST_DEVICE friend void print(GmmaDescriptor const& t) { #if !defined(__CUDACC_RTC__) - printf("GmmaDescriptor: 0x%016" PRIx64 "\n", t.desc_); + printf("GmmaDescriptor: 0x%016 %lli\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_);