We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1d2e5 commit e28b569Copy full SHA for e28b569
runtime/executor/method_meta.h
@@ -193,6 +193,21 @@ class MethodMeta final {
193
*/
194
bool uses_backend(const char* backend_name) const;
195
196
+ /**
197
+ * Get the number of backends used in this method.
198
+ *
199
+ * @returns The total number of backend names.
200
+ */
201
+ size_t num_backends() const;
202
+
203
204
+ * Get the backend name at the given index.
205
206
+ * @param[in] index The index of the backend name.
207
+ * @returns The backend name as a C-style string, or nullptr if the index is invalid.
208
209
+ const char* get_backend_name(size_t index) const;
210
211
/**
212
* Get the number of instructions in this method.
213
*
0 commit comments