blob: 1c3a0078f4459e867b3da6dda9e852024c8ba103 [file] [log] [blame]
// Copyright 2023 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#ifndef IREE_EXPERIMENTAL_HIP_REGISTRATION_DRIVER_MODULE_H_
#define IREE_EXPERIMENTAL_HIP_REGISTRATION_DRIVER_MODULE_H_
#include "iree/base/api.h"
#include "iree/hal/api.h"
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
// Registers the HIP HAL driver to the given |registry|.
IREE_API_EXPORT iree_status_t
iree_hal_hip_driver_module_register(iree_hal_driver_registry_t* registry);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif // IREE_EXPERIMENTAL_HIP_REGISTRATION_DRIVER_MODULE_H_