Docs.rs
hipthread-0.1.3
hipthread 0.1.3
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
h1467792822
Dependencies
cfg-if ^0.1
normal
hierr ^0.2.4
normal
hipool ^0.3.3
normal
libc ^0.2
normal
Versions
63.64%
of the crate is documented
Platform
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
thrd_setaffinity
hipthread
0.1.3
hipthread
Function
thrd_
setaffinity
Copy item path
Source
pub fn thrd_setaffinity(cpu:
usize
) ->
Result
<
()
>
Expand description
设置当前线程核cpu核的亲和性. 输入值范围为[0, sched_cpu_count()).