Commit f3103f1e authored by BRAMAS Berenger's avatar BRAMAS Berenger

Update cude classes for starpu

parent 2be6b19c
......@@ -10,7 +10,7 @@
template <const size_t CellClassSize>
class FCudaGroupOfCells {
/** One header is allocated at the beginning of each block */
struct BlockHeader{
struct alignas(1) BlockHeader{
MortonIndex startingIndex;
MortonIndex endingIndex;
int numberOfCellsInBlock;
......
......@@ -8,7 +8,7 @@
template <unsigned NbAttributesPerParticle, class AttributeClass = FReal>
class FCudaGroupOfParticles {
/** One header is allocated at the beginning of each block */
struct BlockHeader{
struct alignas(1) BlockHeader{
MortonIndex startingIndex;
MortonIndex endingIndex;
int numberOfLeavesInBlock;
......@@ -25,7 +25,7 @@ class FCudaGroupOfParticles {
};
/** Information about a leaf */
struct LeafHeader {
struct alignas(1) LeafHeader {
int nbParticles;
size_t offSet;
};
......
......@@ -42,7 +42,7 @@
//#include "../../Src/GroupTree/Cuda/FCudaTestKernels.hpp"
//#include "../../Src/GroupTree/Cuda/FCudaGroupOfParticles.hpp"
//#include "../../Src/GroupTree/Cuda/FCudaGroupAttachedLeaf.hpp"
#include "../../Src/GroupTree/Cuda/FCudaGroupOfCells.hpp"
//#include "../../Src/GroupTree/Cuda/FCudaGroupOfCells.hpp"
template <class ContainerClass>
class FTestCudaKernels;
......
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