@@ -14,33 +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- +------------------------+----------------------------------------+----------+
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+ +---------------------------+----------------------------------------------------------+----------+
4456
4557
4658Memory APIs
@@ -133,7 +145,7 @@ Event APIs
133145+-------------------+------------------------------------------------------+----------+
134146
135147Collective communication APIs
136- ############
148+ ###############################
137149
138150+-------------------------+---------------------------------------------------------+----------+
139151| API | Function | Required |
@@ -142,9 +154,9 @@ Collective communication APIs
142154+-------------------------+---------------------------------------------------------+----------+
143155| xccl_get_unique_id | Get unique_id object | N |
144156+-------------------------+---------------------------------------------------------+----------+
145- | xccl_comm_init_rank | To initialize communicator。 | N |
157+ | xccl_comm_init_rank | To initialize communicator | N |
146158+-------------------------+---------------------------------------------------------+----------+
147- | xccl_destroy_comm | To destroy communicator。 | N |
159+ | xccl_destroy_comm | To destroy communicator | N |
148160+-------------------------+---------------------------------------------------------+----------+
149161| xccl_all_reduce | Collective communication AllReduce operation | N |
150162+-------------------------+---------------------------------------------------------+----------+
@@ -167,7 +179,7 @@ Collective communication APIs
167179
168180
169181Profiler APIs
170- ############
182+ ###############
171183
172184+-----------------------------+-----------------------------------+----------+
173185| API | Function | Required |
0 commit comments