glasm: Implement barriers

master
ReinUsesLisp 2021-05-19 16:51:52 +07:00 committed by ameerj
parent b60b3fa113
commit d957b3a8fe
1 changed files with 3 additions and 3 deletions

@ -53,15 +53,15 @@ void EmitDemoteToHelperInvocation(EmitContext& ctx) {
}
void EmitBarrier(EmitContext& ctx) {
NotImplemented();
ctx.Add("BAR;");
}
void EmitWorkgroupMemoryBarrier(EmitContext& ctx) {
NotImplemented();
ctx.Add("MEMBAR.CTA;");
}
void EmitDeviceMemoryBarrier(EmitContext& ctx) {
NotImplemented();
ctx.Add("MEMBAR;");
}
void EmitPrologue(EmitContext& ctx) {