see ya later allocator
This commit is contained in:
parent
d7bc7e10ab
commit
aa53a4addb
44 changed files with 32 additions and 1693 deletions
|
|
@ -11,7 +11,7 @@ file(GLOB HEADERS "./public/*.hpp" "./public/*/*.hpp" "./applications/*.hpp")
|
|||
add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS})
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ./public/)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Math Containers Allocators)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Math Containers)
|
||||
|
||||
### -------------------------- Applications -------------------------- ###
|
||||
add_executable(NumRecTrain applications/NumRecTraining.cpp)
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
#include "DataAnalysisCommon.hpp"
|
||||
#include "Allocators.hpp"
|
||||
#include "ContainersCommon.hpp"
|
||||
#include "MathCommon.hpp"
|
||||
|
||||
namespace tp {
|
||||
static ModuleManifest* deps[] = { &gModuleAllocators, nullptr };
|
||||
ModuleManifest gModuleDataAnalysis = ModuleManifest("DataAnalysis", nullptr, nullptr, deps);
|
||||
}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
// #include "NewPlacement.hpp"
|
||||
|
||||
#include "FCNN.hpp"
|
||||
#include "Utils.hpp"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "Module.hpp"
|
||||
|
||||
namespace tp {
|
||||
extern ModuleManifest gModuleDataAnalysis;
|
||||
}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "Buffer.hpp"
|
||||
#include "DataAnalysisCommon.hpp"
|
||||
|
||||
namespace tp {
|
||||
// Fully connected neural network
|
||||
|
|
|
|||
|
|
@ -60,16 +60,5 @@ SUITE(FCNN) {
|
|||
}
|
||||
|
||||
int main() {
|
||||
tp::ModuleManifest* deps[] = { &tp::gModuleDataAnalysis, nullptr };
|
||||
tp::ModuleManifest testModule("DataAnalysisTest", nullptr, nullptr, deps);
|
||||
|
||||
if (!testModule.initialize()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool res = UnitTest::RunAllTests();
|
||||
|
||||
testModule.deinitialize();
|
||||
|
||||
return res;
|
||||
return UnitTest::RunAllTests();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue