projects
/
platform
/
core
/
ml
/
nntrainer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a34c92
)
[Tensor] Include Half Tensor when FP16 is enabled
author
Donghyeon Jeong
<dhyeon.jeong@samsung.com>
Fri, 17 Nov 2023 08:15:19 +0000
(17:15 +0900)
committer
Jijoong Moon
<jijoong.moon@samsung.com>
Wed, 22 Nov 2023 05:45:11 +0000
(14:45 +0900)
**Changes proposed in this PR:**
- Edit meson.build file to add half_tensor.cpp when enable_fp16 is true
**Self-evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped
Signed-off-by: Donghyeon Jeong <dhyeon.jeong@samsung.com>
nntrainer/tensor/meson.build
patch
|
blob
|
history
diff --git
a/nntrainer/tensor/meson.build
b/nntrainer/tensor/meson.build
index b14ae152da24d834602764318be5f761f0eb221c..1790a8b617dce3fcbc973f04d32dc6eb3c356982 100644
(file)
--- a/
nntrainer/tensor/meson.build
+++ b/
nntrainer/tensor/meson.build
@@
-35,6
+35,9
@@
arch = target_machine.cpu_family()
if get_option('platform') == 'android' or arch == 'aarch64'
tensor_sources += 'blas_neon.cpp'
+endif
+
+if get_option('enable-fp16')
tensor_sources += 'half_tensor.cpp'
endif