Buckets:
| // new entries here need to be added to the apir_backend_initialize_error function below | |
| // 0 is fast, 1 avoids the backend to crash if an unsupported tensor is received | |
| typedef uintptr_t apir_buffer_type_host_handle_t; | |
| typedef uintptr_t apir_buffer_host_handle_t; | |
| static const char * apir_backend_initialize_error(int code) { | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_SUCCESS); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_CANNOT_OPEN_BACKEND_LIBRARY); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_CANNOT_OPEN_GGML_LIBRARY); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_MISSING_BACKEND_SYMBOLS); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_MISSING_GGML_SYMBOLS); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_BACKEND_FAILED); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_BACKEND_REG_FAILED); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_ALREADY_INITED); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_NO_DEVICE); | |
| APIR_BACKEND_INITIALIZE_ERROR(APIR_BACKEND_INITIALIZE_BACKEND_INIT_FAILED); | |
| return "Unknown APIR_BACKEND_INITIALIZE error:/"; | |
| } | |
Xet Storage Details
- Size:
- 2.28 kB
- Xet hash:
- ab7671e013cee2544708d3f6d6431d5bb2237c2f0c203e47d675add525681612
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.