forked from suyu/suyu
glasm: Implement barriers
This commit is contained in:
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) {
|
void EmitBarrier(EmitContext& ctx) {
|
||||||
NotImplemented();
|
ctx.Add("BAR;");
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitWorkgroupMemoryBarrier(EmitContext& ctx) {
|
void EmitWorkgroupMemoryBarrier(EmitContext& ctx) {
|
||||||
NotImplemented();
|
ctx.Add("MEMBAR.CTA;");
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitDeviceMemoryBarrier(EmitContext& ctx) {
|
void EmitDeviceMemoryBarrier(EmitContext& ctx) {
|
||||||
NotImplemented();
|
ctx.Add("MEMBAR;");
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmitPrologue(EmitContext& ctx) {
|
void EmitPrologue(EmitContext& ctx) {
|
||||||
|
|
Loading…
Reference in a new issue