resource.h 360 B

1234567891011121314
  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. // Licensed under the MIT License.
  3. #pragma once
  4. enum ResourceOffset {
  5. cpu_resource_offset = 0,
  6. cuda_resource_offset = 10000,
  7. dml_resource_offset = 20000,
  8. rocm_resource_offset = 30000,
  9. // offsets for other ort eps
  10. custom_ep_resource_offset = 10000000,
  11. // offsets for customized eps
  12. };