1
0
Fork 0
forked from suyu/suyu

glasm: Implement barriers

This commit is contained in:
ReinUsesLisp 2021-05-19 16:51:52 -03:00 committed by ameerj
parent b60b3fa113
commit d957b3a8fe

View file

@ -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) {