Function c10::backend::hasPrimaryContext¶
Defined in File NPUFunctions.h
Function Documentation¶
Warning
doxygenfunction: Unable to resolve function “c10::backend::hasPrimaryContext” with arguments “(c10::DeviceIndex)”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 16] C10_BACKEND_API bool hasPrimaryContext (c10::DeviceIndex device_index) —————-^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected identifier in nested name, got keyword: bool [error at 20] C10_BACKEND_API bool hasPrimaryContext (c10::DeviceIndex device_index) ——————–^ If declarator-id: Invalid C++ declaration: Expected identifier in nested name, got keyword: bool [error at 20] C10_BACKEND_API bool hasPrimaryContext (c10::DeviceIndex device_index) ——————–^