Missed some renamings

This commit is contained in:
jpekkila
2020-11-24 21:39:44 +02:00
parent bcacc357d3
commit b6bb53a75c
5 changed files with 13 additions and 13 deletions

View File

@@ -120,8 +120,8 @@ main(int argc, char** argv)
if (pid == 0) {
acHostMeshCreate(info, &model);
acHostMeshCreate(info, &candidate);
acMeshRandomize(&model);
acMeshRandomize(&candidate);
acHostMeshRandomize(&model);
acHostMeshRandomize(&candidate);
}*/
// GPU alloc & compute
@@ -131,7 +131,7 @@ main(int argc, char** argv)
/*
AcMesh model;
acHostMeshCreate(info, &model);
acMeshRandomize(&model);
acHostMeshRandomize(&model);
acGridLoadMesh(STREAM_DEFAULT, model);
*/
@@ -146,7 +146,7 @@ main(int argc, char** argv)
// Verify
if (pid == 0) {
acHostIntegrateStep(model, FLT_EPSILON);
acMeshApplyPeriodicBounds(&model);
acHostMeshApplyPeriodicBounds(&model);
AcResult retval = acVerifyMesh(model, candidate);
acHostMeshDestroy(&model);

View File

@@ -49,8 +49,8 @@ main(void)
if (pid == 0) {
acHostMeshCreate(info, &model);
acHostMeshCreate(info, &candidate);
acMeshRandomize(&model);
acMeshRandomize(&candidate);
acHostMeshRandomize(&model);
acHostMeshRandomize(&candidate);
}
// GPU alloc & compute
@@ -61,10 +61,10 @@ main(void)
acGridPeriodicBoundconds(STREAM_DEFAULT);
acGridStoreMesh(STREAM_DEFAULT, &candidate);
if (pid == 0) {
acMeshApplyPeriodicBounds(&model);
acHostMeshApplyPeriodicBounds(&model);
const AcResult res = acVerifyMesh("Boundconds", model, candidate);
ERRCHK_ALWAYS(res == AC_SUCCESS);
acMeshRandomize(&model);
acHostMeshRandomize(&model);
}
// Integration
@@ -74,10 +74,10 @@ main(void)
acGridStoreMesh(STREAM_DEFAULT, &candidate);
if (pid == 0) {
acHostIntegrateStep(model, FLT_EPSILON);
acMeshApplyPeriodicBounds(&model);
acHostMeshApplyPeriodicBounds(&model);
const AcResult res = acVerifyMesh("Integration", model, candidate);
ERRCHK_ALWAYS(res == AC_SUCCESS);
acMeshRandomize(&model);
acHostMeshRandomize(&model);
}
// Scalar reductions

View File

@@ -445,7 +445,7 @@ main(int argc, char** argv)
#endif
}
acMeshApplyPeriodicBounds(&mesh);
acHostMeshApplyPeriodicBounds(&mesh);
if (start_step == 0) {
save_mesh(mesh, 0, t_step);
}

View File

@@ -1290,7 +1290,7 @@ acGridRandomize(void)
AcMesh host;
acHostMeshCreate(grid.submesh.info, &host);
acMeshRandomize(&host);
acHostMeshRandomize(&host);
acDeviceLoadMesh(grid.device, STREAM_DEFAULT, host);
acHostMeshDestroy(&host);

View File

@@ -30,7 +30,7 @@
#include <stdbool.h>
#include "errchk.h"
#include "memory.h" // acHostMeshCreate, acHostMeshDestroy, acMeshApplyPeriodicBounds
#include "memory.h" // acHostMeshCreate, acHostMeshDestroy, acHostMeshApplyPeriodicBounds
// Standalone flags
#define LDENSITY (1)