blob: df7fe29073ebe60eaf1c0f4677eb0aa9378d9786 [file] [log] [blame]
#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_hal_device_t **device);
#endif // SAMPLES_DEVICE_H