Skip to content

Commit

Permalink
[ cpu_backend ] Refactor blas-related files into cpu_backend
Browse files Browse the repository at this point in the history
- blas-related implementations are often dependent on hardware architecture.
- for easier maintenance, separating such functions would be helpful

**Self evaluation:**
1. Build test:     [X]Passed [ ]Failed [ ]Skipped
2. Run test:     [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: skykongkong8 <[email protected]>
  • Loading branch information
skykongkong8 committed Aug 13, 2024
1 parent c952f2f commit 1f0c3dd
Show file tree
Hide file tree
Showing 109 changed files with 10,354 additions and 1,940 deletions.
2 changes: 1 addition & 1 deletion debian/nntrainer-dev.install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/usr/include/nntrainer/char_tensor.h
/usr/include/nntrainer/float_tensor.h
/usr/include/nntrainer/tensor_wrap_specs.h
/usr/include/nntrainer/blas_interface.h
/usr/include/nntrainer/cpu_backend.h
/usr/include/nntrainer/var_grad.h
/usr/include/nntrainer/weight.h
# todo: update dataset headers
Expand Down
2 changes: 1 addition & 1 deletion nntrainer/layers/acti_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define __ACTI_FUNC_H__
#ifdef __cplusplus

#include <blas_interface.h>
#include <cpu_backend.h>
#include <common_properties.h>

namespace nntrainer {
Expand Down
2 changes: 1 addition & 1 deletion nntrainer/layers/activation_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <vector>

#include <activation_layer.h>
#include <blas_interface.h>
#include <cpu_backend.h>
#include <common_properties.h>
#include <layer_context.h>
#include <nntrainer_error.h>
Expand Down
2 changes: 1 addition & 1 deletion nntrainer/layers/conv2d_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <limits>
#include <string>

#include <blas_interface.h>
#include <cpu_backend.h>
#include <conv2d_layer.h>
#include <layer_context.h>
#include <lazy_tensor.h>
Expand Down
Loading

0 comments on commit 1f0c3dd

Please sign in to comment.