Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Commit

Permalink
Rename llvm.cuda.syncthreads -> llvm.nvvm.barrier0 to keep up with (
Browse files Browse the repository at this point in the history
rust-lang#589)

changes in LLVM.
  • Loading branch information
peterhj authored and alexcrichton committed Nov 6, 2018
1 parent c73b5b8 commit f244bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coresimd/nvptx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#[allow(improper_ctypes)]
extern "C" {
#[link_name = "llvm.cuda.syncthreads"]
#[link_name = "llvm.nvvm.barrier0"]
fn syncthreads() -> ();
#[link_name = "llvm.nvvm.read.ptx.sreg.ntid.x"]
fn block_dim_x() -> i32;
Expand Down

0 comments on commit f244bd2

Please sign in to comment.