| #ifndef SAMPLES_DEVICE_H | |
| #define SAMPLES_DEVICE_H | |
| #include "iree/base/api.h" | |
| #include "iree/hal/api.h" | |
| // Create the HAL device from the different backend targets. | |
| // The HAL device is returned based on the implementation, and it must be | |
| // released by the caller. | |
| iree_status_t create_sample_device(iree_allocator_t host_allocator, | |
| iree_hal_device_t** out_device); | |
| #endif // SAMPLES_DEVICE_H |