@@ -15,43 +15,43 @@ Device APIs
1515############
1616
1717+---------------------------+----------------------------------------------------------+----------+
18- | API | Function | Required |
18+ | API | Function | Required |
1919+===========================+==========================================================+==========+
2020| initialize | To initialize the device backend | N |
2121+---------------------------+----------------------------------------------------------+----------+
22- | finalize | To de-initialize the device backend | N |
22+ | finalize | To de-initialize the device backend | N |
2323+---------------------------+----------------------------------------------------------+----------+
24- | init_device | To initialize the designated device | N |
24+ | init_device | To initialize the designated device | N |
2525+---------------------------+----------------------------------------------------------+----------+
26- | deinit_device | To de-initialize the designated device | N |
26+ | deinit_device | To de-initialize the designated device | N |
2727+---------------------------+----------------------------------------------------------+----------+
28- | set_device | To set the current device | Y |
28+ | set_device | To set the current device | Y |
2929+---------------------------+----------------------------------------------------------+----------+
30- | get_device | To get the current device | Y |
30+ | get_device | To get the current device | Y |
3131+---------------------------+----------------------------------------------------------+----------+
32- | synchronize_device | To synchronize the desginated device | Y |
32+ | synchronize_device | To synchronize the desginated device | Y |
3333+---------------------------+----------------------------------------------------------+----------+
34- | get_device_count | To count available devices | Y |
34+ | get_device_count | To count available devices | Y |
3535+---------------------------+----------------------------------------------------------+----------+
36- | get_device_list | To get the list of available devices | Y |
36+ | get_device_list | To get the list of available devices | Y |
3737+---------------------------+----------------------------------------------------------+----------+
38- | get_compute_capability | To get computing capability of devices | Y |
38+ | get_compute_capability | To get computing capability of devices | Y |
3939+---------------------------+----------------------------------------------------------+----------+
40- | get_runtime_version | To get the runtime version | Y |
40+ | get_runtime_version | To get the runtime version | Y |
4141+---------------------------+----------------------------------------------------------+----------+
42- | get_driver_version | To get the driver version | Y |
42+ | get_driver_version | To get the driver version | Y |
4343+---------------------------+----------------------------------------------------------+----------+
44- | get_multi_process | To get the number of MultiProcessors on the device | N |
44+ | get_multi_process | To get the number of MultiProcessors on the device | N |
4545+---------------------------+----------------------------------------------------------+----------+
46- | get_max_threads_per_mp | To get the max threads per MultiProcessor | N |
46+ | get_max_threads_per_mp | To get the max threads per MultiProcessor | N |
4747+---------------------------+----------------------------------------------------------+----------+
48- | get_max_threads_per_block | To get the max threads per block | N |
48+ | get_max_threads_per_block | To get the max threads per block | N |
4949+---------------------------+----------------------------------------------------------+----------+
50- | get_max_grid_dim_size | To get the max grid dimension size | N |
50+ | get_max_grid_dim_size | To get the max grid dimension size | N |
5151+---------------------------+----------------------------------------------------------+----------+
52- | init_eigen_device | To initialize the Eigen GPU device object | N |
52+ | init_eigen_device | To initialize the Eigen GPU device object | N |
5353+---------------------------+----------------------------------------------------------+----------+
54- | destroy_eigen_device | To destroy the Eigen GPU device object | N |
54+ | destroy_eigen_device | To destroy the Eigen GPU device object | N |
5555+---------------------------+----------------------------------------------------------+----------+
5656
5757
0 commit comments