|
| 1 | +//===--------- tensor_map.cpp - HIP Adapter -------------------------------===// |
| 2 | +// |
| 3 | +// Copyright (C) 2024 Intel Corporation |
| 4 | +// |
| 5 | +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM |
| 6 | +// Exceptions. See LICENSE.TXT |
| 7 | +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 8 | +// |
| 9 | +//===----------------------------------------------------------------------===// |
| 10 | + |
| 11 | +#include <ur_api.h> |
| 12 | + |
| 13 | +UR_APIEXPORT ur_result_t UR_APICALL urTensorMapEncodeIm2ColExp( |
| 14 | + ur_device_handle_t, ur_exp_tensor_map_data_type_flags_t, uint32_t, void *, |
| 15 | + const uint64_t *, const uint64_t *, const int *, const int *, uint32_t, |
| 16 | + uint32_t, const uint32_t *, ur_exp_tensor_map_interleave_flags_t, |
| 17 | + ur_exp_tensor_map_swizzle_flags_t, ur_exp_tensor_map_l2_promotion_flags_t, |
| 18 | + ur_exp_tensor_map_oob_fill_flags_t, ur_exp_tensor_map_handle_t *) { |
| 19 | + return UR_RESULT_ERROR_UNSUPPORTED_FEATURE; |
| 20 | +} |
| 21 | +UR_APIEXPORT ur_result_t UR_APICALL urTensorMapEncodeTiledExp( |
| 22 | + ur_device_handle_t, ur_exp_tensor_map_data_type_flags_t, uint32_t, void *, |
| 23 | + const uint64_t *, const uint64_t *, const uint32_t *, const uint32_t *, |
| 24 | + ur_exp_tensor_map_interleave_flags_t, ur_exp_tensor_map_swizzle_flags_t, |
| 25 | + ur_exp_tensor_map_l2_promotion_flags_t, ur_exp_tensor_map_oob_fill_flags_t, |
| 26 | + ur_exp_tensor_map_handle_t *) { |
| 27 | + return UR_RESULT_ERROR_UNSUPPORTED_FEATURE; |
| 28 | +} |
| 29 | + |
0 commit comments