MR: VTXBUF_DENSITY -> VTXBUF_LNRHO, minor
This commit is contained in:

committed by
Matthias Rheinhardt

parent
57a39fd848
commit
0bc8b7e827
@@ -198,7 +198,7 @@ extern "C" {
|
|||||||
|
|
||||||
#ifdef LDENSITY
|
#ifdef LDENSITY
|
||||||
#define AC_FOR_DENSITY_VTXBUF_HANDLES(FUNC) \
|
#define AC_FOR_DENSITY_VTXBUF_HANDLES(FUNC) \
|
||||||
FUNC(VTXBUF_DENSITY),
|
FUNC(VTXBUF_LNRHO),
|
||||||
#else
|
#else
|
||||||
#define AC_FOR_DENSITY_VTXBUF_HANDLES(FUNC)
|
#define AC_FOR_DENSITY_VTXBUF_HANDLES(FUNC)
|
||||||
#endif
|
#endif
|
||||||
|
@@ -75,7 +75,7 @@ printInt3(const int3 vec)
|
|||||||
AcResult
|
AcResult
|
||||||
acInit(const AcMeshInfo& config)
|
acInit(const AcMeshInfo& config)
|
||||||
{
|
{
|
||||||
Acresult res=acGetDevice();
|
AcResult res=acGetDevice();
|
||||||
res=acInitialize(config);
|
res=acInitialize(config);
|
||||||
return AC_SUCCESS;
|
return AC_SUCCESS;
|
||||||
}
|
}
|
||||||
@@ -288,12 +288,12 @@ acIntegrateStepWithOffset(const int& isubstep, const AcReal& dt, const int3& sta
|
|||||||
/*
|
/*
|
||||||
// A skeleton function for computing integrations with arbitrary subblocks
|
// A skeleton function for computing integrations with arbitrary subblocks
|
||||||
// Uncommenting the following should work with a single GPU.
|
// Uncommenting the following should work with a single GPU.
|
||||||
const int3 start = (int3){STENCIL_ORDER / 2, STENCIL_ORDER / 2, STENCIL_ORDER / 2};
|
const int3 start = (int3){NGHOST, NGHOST, NGHOST};
|
||||||
const int3 end = (int3){STENCIL_ORDER / 2 + subgrid.n.x, STENCIL_ORDER / 2 + subgrid.n.y,
|
const int3 end = (int3){NGHOST + subgrid.n.x, NGHOST + subgrid.n.y,
|
||||||
STENCIL_ORDER / 2 + subgrid.n.z};
|
NGHOST + subgrid.n.z};
|
||||||
rkStep(devices[0], STREAM_PRIMARY, isubstep, start, end, dt);
|
|
||||||
*/
|
*/
|
||||||
return AC_FAILURE;
|
rkStep(devices[0], STREAM_PRIMARY, isubstep, start, end, dt);
|
||||||
|
return AC_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
AcResult
|
AcResult
|
||||||
|
Reference in New Issue
Block a user