Commit 1ad28c71 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

An example using starpu kernel, it works with test-kernel that simply sums...

An example using starpu kernel, it works with test-kernel that simply sums values, it s commented to be able to understand, and will evolve in the futur
parent 8543d635
This diff is collapsed.
......@@ -10,7 +10,6 @@
// ===================================================================================
// ==== CMAKE =====
// @FUSE_BLAS
// @FUSE_STARPU
// ================
......@@ -45,8 +44,6 @@
#include <stdio.h>
#include <string.h>
template<class OctreeClass, class ParticleClass, class CellClass, class RealCellClass, class ContainerClass, class KernelClass, class LeafClass>
KernelClass** FFmmAlgorithmStarpu<OctreeClass,ParticleClass,CellClass,RealCellClass,ContainerClass,KernelClass,LeafClass>::globalKernels = 0;
// export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
// Compile With openmp : g++ testFmbAlgorithm.cpp ../../Src/Utils/FDebug.cpp ../../Src/Utils/FTrace.cpp -lgomp -fopenmp -lstarpu -O2 -o testFmbAlgorithm.exe
......@@ -57,7 +54,7 @@ KernelClass** FFmmAlgorithmStarpu<OctreeClass,ParticleClass,CellClass,RealCellCl
// Define classes
////////////////////////////////////////////////////////////////
// just to be able to load a fma file
class TestParticle : public FTestParticle, public FExtendPhysicalValue{
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment