API

cts

cts

Functions

ReturnNameDescription
iree_status_tCreateMetalDevice static

CreateMetalDevice

static

static iree_status_t CreateMetalDevice(iree_hal_driver_t ** out_driver, iree_hal_device_t ** out_device)

Defined in runtime/src/iree/hal/drivers/metal/cts/backends.cc:15

Variables

ReturnNameDescription
boolmetal_registered_ static

metal_registered_

static

bool metal_registered_ =
(CtsRegistry::RegisterBackend({
     "metal",
     {"metal",
      CreateMetalDevice,
      nullptr,
      nullptr,
      RecordingMode::kDirect,
      
      {
          {"EventTest.*", "Metal does not implement HAL events"},
          {"ExecutableTest.*",
           "Metal does not implement executable reflection"},
          {"SemaphoreTest.*",
           "Metal semaphore failure tests disabled pending fix"},
          {"SemaphoreSubmissionTest.*",
           "Metal semaphore submission tests disabled pending fix"},
      }},
     {"async_queue"},
 }),
 true)

Defined in runtime/src/iree/hal/drivers/metal/cts/backends.cc:47