File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
onnxruntime/core/providers/cpu/nn Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ namespace onnxruntime {
15
15
16
16
namespace {
17
17
18
- ORT_FORCEINLINE double * OnlyCreateBufferIfMLFloat16 (double * p_output, int num_elems) {
18
+ ORT_FORCEINLINE double * OnlyCreateBufferIfMLFloat16 (double * p_output, int64_t num_elems) {
19
19
return p_output;
20
20
}
21
21
22
- ORT_FORCEINLINE float * OnlyCreateBufferIfMLFloat16 (float * p_output, int num_elems) {
22
+ ORT_FORCEINLINE float * OnlyCreateBufferIfMLFloat16 (float * p_output, int64_t num_elems) {
23
23
return p_output;
24
24
}
25
25
26
- ORT_FORCEINLINE float * OnlyCreateBufferIfMLFloat16 (MLFloat16* p_output, int num_elems) {
26
+ ORT_FORCEINLINE float * OnlyCreateBufferIfMLFloat16 (MLFloat16* p_output, int64_t num_elems) {
27
27
return p_output == nullptr ? nullptr : new float [num_elems];
28
28
}
29
29
You can’t perform that action at this time.
0 commit comments