MCPcopy Index your code
hub / github.com/arrayfire/arrayfire-rust / info

Function info

src/core/device.rs:80–85  ·  view source on GitHub ↗

Print library meta-info # Examples An example output of `af::info` call looks like below ```text ArrayFire v3.0.0 (CUDA, 64-bit Mac OSX, build d8d4b38) Platform: CUDA Toolkit 7, Driver: CUDA Driver Version: 7000 [0] GeForce GT 750M, 2048 MB, CUDA Compute 3.0 ```

()

Source from the content-addressed store, hash-verified

78/// [0] GeForce GT 750M, 2048 MB, CUDA Compute 3.0
79/// ```
80pub fn info() {
81 unsafe {
82 let err_val = af_info();
83 HANDLE_ERROR(AfError::from(err_val));
84 }
85}
86
87/// Return library meta-info as `String`
88///

Callers 15

mainFunction · 0.85
mainFunction · 0.85
thread_move_arrayFunction · 0.85
thread_borrow_arrayFunction · 0.85
event_blockFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
test_backendFunction · 0.85
mainFunction · 0.85

Calls 1

HANDLE_ERRORFunction · 0.85

Tested by 4

thread_move_arrayFunction · 0.68
thread_borrow_arrayFunction · 0.68
event_blockFunction · 0.68
test_backendFunction · 0.68