1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| // Copyright (c) Microsoft Corporation. All rights reserved.
| // Licensed under the MIT License.
|
| #pragma once
| #include "core/providers/cuda/shared_inc/cuda_utils.h"
|
| namespace onnxruntime {
| namespace contrib {
| namespace cuda {
|
| Status LaunchUnfoldTensor(
| cudaStream_t stream,
| const cudaDeviceProp& device_prop,
| size_t element_size,
| const void* input,
| void* output,
| int64_t leading_dims_size,
| int64_t tailing_dims_size,
| int64_t dim_size,
| int64_t unfold_size,
| int64_t step_size);
|
| } // namespace cuda
| } // namespace contrib
| } // namespace onnxruntime
|
|