Closed jon-chuang closed 4 years ago
I'm having trouble figuring out how to link with --arch=sm_xx flags when calling cargo build --target nvptx..., would appreciate some help.
--arch=sm_xx
cargo build --target nvptx...
turns out I was missing an = sign, just pass "RUSTFLAGS=-C link-arg=-arch=sm_xx" cargo...
"RUSTFLAGS=-C link-arg=-arch=sm_xx" cargo...
I'm having trouble figuring out how to link with
--arch=sm_xx
flags when callingcargo build --target nvptx...
, would appreciate some help.