mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-09-28 12:19:00 +00:00
Revert membar scope change, leave a comment
This commit is contained in:
parent
90770bbe66
commit
c4dc46726c
1 changed files with 2 additions and 1 deletions
|
@ -3016,7 +3016,8 @@ fn get_scope_membar(scope: ast::MemScope) -> Result<*const i8, TranslateError> {
|
|||
Ok(match scope {
|
||||
ast::MemScope::Cta => c"workgroup",
|
||||
ast::MemScope::Gpu => c"agent",
|
||||
ast::MemScope::Sys => c"system",
|
||||
// Don't change to "system", this is the same as __threadfence_system, AMDPGU LLVM expects "" here
|
||||
ast::MemScope::Sys => c"",
|
||||
ast::MemScope::Cluster => return Err(error_todo()),
|
||||
}
|
||||
.as_ptr())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue