Compare commits

...

1 Commits

Author SHA1 Message Date
4f10b55760 Fix format string in ck_gemm_template.h for int64_t variables
Change %d to %ld in printf format specifier to correctly handle int64_t variables n, m, k.
This fixes compilation errors in HIP builds where the format string didn't match the argument type.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-18 13:16:57 -07:00

View File

@ -382,7 +382,7 @@ void gemm_impl_wmma(CUDABLAS_GEMM_ARGTYPES(Dtype)) {
if(!gemm.IsSupportedArgument(argument))
{
printf("error shape = %d %d %d TRANSA=%d TRANSB=%d \n",
printf("error shape = %ld %ld %ld TRANSA=%d TRANSB=%d \n",
n, m, k,TRANSA, TRANSB);
throw std::runtime_error(