Skip to content

Commit

Permalink
namespace!
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Jan 10, 2025
1 parent 56c75da commit 0312e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modcc/printer/gpuprinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ void emit_api_body_cu(std::ostream& out, APIMethod* e, const ApiFlags& flags) {
auto it = std::find_if(indexed_vars.begin(), indexed_vars.end(),
[](auto& sym){return sym->external_variable()->is_write();});
if (it!=indexed_vars.end()) {
out << "unsigned lane_mask_ = arb::gpu::ballot(active_mask(), tid_<n_);\n";
out << "unsigned lane_mask_ = arb::gpu::ballot(arb::gpu::active_mask(), tid_<n_);\n";
}
}
if (flags.ppack_iface) out << "PPACK_IFACE_BLOCK;\n";
Expand Down

0 comments on commit 0312e2e

Please sign in to comment.