Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellGengYF committed Dec 27, 2024
1 parent 30410d0 commit a4e3194
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/backends/common/hlsl/hlsl_codegen_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,7 @@ uint4 dsp_c;
LUISA_ERROR("Arguments binding size: {} exceeds 64 32-bit units not supported by hardware device. Try to use bindless instead.", bind_count);
} else if (bind_count > 16) [[unlikely]] {
if (!rootsig_exceed_warned.exchange(true)) {
LUISA_WARNING("Arguments binding size exceeds 16 32-bit unit (max 64 allowed). This may cause extra performance cost, try to use bindless instead.");
LUISA_WARNING("Arguments binding size {} exceeds 16 32-bit unit (max 64 allowed). This may cause extra performance cost, try to use bindless instead.", bind_count);
}
}
return {
Expand Down Expand Up @@ -2314,7 +2314,7 @@ uint obj_id:register(b0);
LUISA_ERROR("Arguments binding size: {} exceeds 64 32-bit units not supported by hardware device. Try to use bindless instead.", bind_count);
} else if (bind_count > 16) [[unlikely]] {
if (!rootsig_exceed_warned.exchange(true)) {
LUISA_WARNING("Arguments binding size exceeds 16 32-bit unit (max 64 allowed). This may cause extra performance cost, try to use bindless instead.");
LUISA_WARNING("Arguments binding size {} exceeds 16 32-bit unit (max 64 allowed). This may cause extra performance cost, try to use bindless instead.", bind_count);
}
}
return {
Expand Down
2 changes: 1 addition & 1 deletion src/ext/xxHash

0 comments on commit a4e3194

Please sign in to comment.