mirror of https://git.suyu.dev/suyu/suyu
glasm: Implement barriers
This commit is contained in:
parent
b60b3fa113
commit
d957b3a8fe
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue