Skip to content
Snippets Groups Projects
Commit bc4e2e9a authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Changed header files structure to work with multiple backends and notably backend CPU

parent baec9c3d
No related branches found
No related tags found
No related merge requests found
Pipeline #31529 failed
......@@ -12,6 +12,6 @@
#ifndef AIDGE_BACKEND_CUDA_IMPORTS_H_
#define AIDGE_BACKEND_CUDA_IMPORTS_H_
#include "aidge/data/TensorImpl.hpp"
#include "aidge/backend/cuda/data/TensorImpl.hpp"
#endif /* AIDGE_BACKEND_CUDA_IMPORTS_H_ */
\ No newline at end of file
......@@ -9,7 +9,7 @@
#include "aidge/utils/Registrar.hpp"
#include "aidge/utils/Types.h"
#include "aidge/utils/CudaUtils.hpp"
#include "aidge/backend/cuda/utils/CudaUtils.hpp"
namespace Aidge {
template <class T>
......
#include <pybind11/pybind11.h>
// Need to call this header to register every impl
#include "aidge/aidge_backend_cuda.hpp"
#include "aidge/backend/cuda.hpp"
namespace py = pybind11;
......
......@@ -16,7 +16,9 @@
#include "Test_cuda.hpp"
#include "aidge/data/Tensor.hpp"
#include "aidge/data/TensorImpl.hpp"
#include "aidge/backend/cpu.hpp"
#include "aidge/backend/cuda.hpp"
using namespace Aidge;
......
#include <cuda.h>
#include <cuda_runtime.h>
#include "aidge/utils/CudaUtils.hpp"
#include "aidge/backend/cuda/utils/CudaUtils.hpp"
void vector_add(float *out, float *a, float *b, int n);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment