From ff4495abcc2d46cf08de748395b418cefc34600a Mon Sep 17 00:00:00 2001 From: Tom Benson Date: Mon, 17 Mar 2025 10:59:14 -0700 Subject: [PATCH] Wrap a non-constexpr fmt string in fmt::runtime --- include/h2/gpu/runtime.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/h2/gpu/runtime.hpp b/include/h2/gpu/runtime.hpp index dbbeda0..c4dc0ee 100644 --- a/include/h2/gpu/runtime.hpp +++ b/include/h2/gpu/runtime.hpp @@ -231,11 +231,11 @@ inline void launch_kernel(void (*kernel)(KernelArgs...), max_threads_per_block, ")"); - H2_GPU_TRACE("launch_kernel(kernel={} (" - + meta::tlist::print(meta::TL{}) - + "), grid_dim=({}, {}, {}), block_dim=({}, " - "{}, {}), shared_mem={}, stream={}, args=( " - + (((void) args, std::string("{} ")) + ...) + "))", + H2_GPU_TRACE(fmt::runtime("launch_kernel(kernel={} (" + + meta::tlist::print(meta::TL{}) + + "), grid_dim=({}, {}, {}), block_dim=({}, " + "{}, {}), shared_mem={}, stream={}, args=( " + + (((void) args, std::string("{} ")) + ...) + "))"), (void*) kernel, grid_dim.x, grid_dim.y,