@@ -14,45 +14,45 @@ Custom Runtime offers a new method to register the runtime of new devices via pl
1414Device APIs
1515############
1616
17- +------------------------+ ----------------------------------------+----------+
18- | API | Function | Required |
19- +========================+ ========================================+==========+
20- | initialize | To initialize the device backend | N |
21- +------------------------+ ----------------------------------------+----------+
22- | finalize | To de-initialize the device backend | N |
23- +------------------------+ ----------------------------------------+----------+
24- | init_device | To initialize the designated device | N |
25- +------------------------+ ----------------------------------------+----------+
26- | deinit_device | To de-initialize the designated device | N |
27- +------------------------+ ----------------------------------------+----------+
28- | set_device | To set the current device | Y |
29- +------------------------+ ----------------------------------------+----------+
30- | get_device | To get the current device | Y |
31- +------------------------+ ----------------------------------------+----------+
32- | synchronize_device | To synchronize the desginated device | Y |
33- +------------------------+ ----------------------------------------+----------+
34- | get_device_count | To count available devices | Y |
35- +------------------------+ ----------------------------------------+----------+
36- | get_device_list | To get the list of available devices | Y |
37- +------------------------+ ----------------------------------------+----------+
38- | get_compute_capability | To get computing capability of devices | Y |
39- +------------------------+ ----------------------------------------+----------+
40- | get_runtime_version | To get the runtime version | Y |
41- +------------------------+ ----------------------------------------+----------+
42- | get_driver_version | To get the driver version | Y |
43- +------------------------+ ----------------------------------------+----------+
44- | get_multi_process | To get the number of MultiProcessors on the device | N |
45- +------------------------+ ----------------------------------------+----------+
46- | get_max_threads_per_mp | To get the max threads per MultiProcessor | N |
47- +------------------------+ ----------------------------------------+----------+
48- | get_max_threads_per_block | To get the max threads per block | N |
49- +------------------------+ ----------------------------------------+----------+
50- | get_max_grid_dim_size | To get the max grid dimension size | N |
51- +------------------------+ ----------------------------------------+----------+
52- | init_eigen_device | To initialize the Eigen GPU device object | N |
53- +------------------------+ ----------------------------------------+----------+
54- | destroy_eigen_device | To destroy the Eigen GPU device object | N |
55- +------------------------+ ----------------------------------------+----------+
17+ +---------------------------+------------------ ----------------------------------------+----------+
18+ | API | Function | Required |
19+ +===========================+================== ========================================+==========+
20+ | initialize | To initialize the device backend | N |
21+ +---------------------------+------------------ ----------------------------------------+----------+
22+ | finalize | To de-initialize the device backend | N |
23+ +---------------------------+------------------ ----------------------------------------+----------+
24+ | init_device | To initialize the designated device | N |
25+ +---------------------------+------------------ ----------------------------------------+----------+
26+ | deinit_device | To de-initialize the designated device | N |
27+ +---------------------------+------------------ ----------------------------------------+----------+
28+ | set_device | To set the current device | Y |
29+ +---------------------------+------------------ ----------------------------------------+----------+
30+ | get_device | To get the current device | Y |
31+ +---------------------------+------------------ ----------------------------------------+----------+
32+ | synchronize_device | To synchronize the desginated device | Y |
33+ +---------------------------+------------------ ----------------------------------------+----------+
34+ | get_device_count | To count available devices | Y |
35+ +---------------------------+------------------ ----------------------------------------+----------+
36+ | get_device_list | To get the list of available devices | Y |
37+ +---------------------------+------------------ ----------------------------------------+----------+
38+ | get_compute_capability | To get computing capability of devices | Y |
39+ +---------------------------+------------------ ----------------------------------------+----------+
40+ | get_runtime_version | To get the runtime version | Y |
41+ +---------------------------+------------------ ----------------------------------------+----------+
42+ | get_driver_version | To get the driver version | Y |
43+ +---------------------------+------------------ ----------------------------------------+----------+
44+ | get_multi_process | To get the number of MultiProcessors on the device | N |
45+ +---------------------------+------------------ ----------------------------------------+----------+
46+ | get_max_threads_per_mp | To get the max threads per MultiProcessor | N |
47+ +---------------------------+------------------ ----------------------------------------+----------+
48+ | get_max_threads_per_block | To get the max threads per block | N |
49+ +---------------------------+------------------ ----------------------------------------+----------+
50+ | get_max_grid_dim_size | To get the max grid dimension size | N |
51+ +---------------------------+------------------ ----------------------------------------+----------+
52+ | init_eigen_device | To initialize the Eigen GPU device object | N |
53+ +---------------------------+------------------ ----------------------------------------+----------+
54+ | destroy_eigen_device | To destroy the Eigen GPU device object | N |
55+ +---------------------------+------------------ ----------------------------------------+----------+
5656
5757
5858Memory APIs
0 commit comments