InfiniTensor/test/kernels/intelcpu
kilinchange 0dc5347089
memory_allocator (#103)
* - add LazyAllocator class
- calculate memory consumption at present

* - basic function of lazy_allocator, remaining test

* - modify LazyAllocator

* - modify InfiniTensor to fit LazyAllocator

* - add setDataBlob
- modify alignment
- fix GraphObj::dataMalloc

* - modified alignment value(64bytes -> 8bytes)
- fix LazyAllocator::getPtr()
- some dubug codes and commonts
- do alignment by chaning size instead of tailAddr

* - fix some problem

* - translate chinese comments to english

* - format codes

* - fix test

* - code format

* - modify codes as YdrMaser and bitzyz suggested

* - code format

* - modify codes as constroy suggested

* - codes format

* - modify alignment on cuda

* - code format

* - add test_lazy_allocator
- fix tests where not add input tensor into graph.tensors
- fix tests where init tensor's data before calling graph->dataMallocate()

* - code format

* - remove gpu runtime in test_lazy_allocator

* - fix test_lazy_allocator: remove cuda include

* - add test

* - code format

* - add ifdef for test of allocator

* - code format

* - fix test: remove unused ifdef

* - fix bang test

* - code format

* Merge branch 'master' into dcj/memory_allocator

* fix: fix cuda conv_fp16 run fail

* fix bang_runtime.cc and cuda_runtime.cc

* - update mkl code

* - fix codes for mkl

* - code format

* - remove unused commented codes
- add an empty line at the end of the blob.cc

---------

Co-authored-by: zhangyunze <z13785159769@163.com>
2023-08-13 13:39:35 +08:00
..
test_mkl_batch_norm.cc NNET supports TVM backend and kernels (#78) 2023-04-18 00:26:36 +08:00
test_mkl_concat.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_conv.cc refactor(core): 添加新的 `OpType` 定义 (#99) 2023-08-07 11:17:05 +08:00
test_mkl_conv_transposed.cc refactor(core): 添加新的 `OpType` 定义 (#99) 2023-08-07 11:17:05 +08:00
test_mkl_element_wise.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_extend.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_gather.cc memory_allocator (#103) 2023-08-13 13:39:35 +08:00
test_mkl_matmul.cc memory_allocator (#103) 2023-08-13 13:39:35 +08:00
test_mkl_pad.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_pooling.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_reduce.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_reshape.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_resize.cc memory_allocator (#103) 2023-08-13 13:39:35 +08:00
test_mkl_slice.cc Dev for 202303ddl (#66) 2023-04-18 15:10:33 +08:00
test_mkl_softmax.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00
test_mkl_split.cc Cpu backend2 (#77) 2023-04-17 12:15:23 +08:00