From adbd67effe5b3ede6c97efa40b65ad92f6194dc6 Mon Sep 17 00:00:00 2001 From: Marvel Li Date: Fri, 10 Jan 2025 12:48:28 +0800 Subject: [PATCH] fix $comment --- include/luisa/dsl/sugar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/luisa/dsl/sugar.h b/include/luisa/dsl/sugar.h index d90a37aa3..7f0e38872 100644 --- a/include/luisa/dsl/sugar.h +++ b/include/luisa/dsl/sugar.h @@ -151,7 +151,7 @@ namespace luisa::compute::dsl_detail { ::luisa::compute::detail::StmtBodyInvoke{} % [&]() noexcept -> void #define $comment(...) \ - ::luisa::compute::comment(__VA_ARGS__) + ::luisa::compute::detail::comment(__VA_ARGS__) #define $comment_with_location(...) \ $comment(luisa::string{__VA_ARGS__} \ .append(" [") \