Added interface function acSynchronizeMesh
This commit is contained in:
@@ -57,6 +57,9 @@ AcResult acCheckDeviceAvailability(void);
|
|||||||
* parameter*/
|
* parameter*/
|
||||||
AcResult acSynchronizeStream(const Stream stream);
|
AcResult acSynchronizeStream(const Stream stream);
|
||||||
|
|
||||||
|
/** */
|
||||||
|
AcResult acSynchronizeMesh(void);
|
||||||
|
|
||||||
/** Loads a constant to the memories of the devices visible to the caller */
|
/** Loads a constant to the memories of the devices visible to the caller */
|
||||||
AcResult acLoadDeviceConstant(const AcRealParam param, const AcReal value);
|
AcResult acLoadDeviceConstant(const AcRealParam param, const AcReal value);
|
||||||
|
|
||||||
|
@@ -151,3 +151,9 @@ acLoadWithOffset(const AcMesh host_mesh, const int3 src, const int num_vertices)
|
|||||||
{
|
{
|
||||||
return acNodeLoadMeshWithOffset(nodes[0], STREAM_DEFAULT, host_mesh, src, src, num_vertices);
|
return acNodeLoadMeshWithOffset(nodes[0], STREAM_DEFAULT, host_mesh, src, src, num_vertices);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AcResult
|
||||||
|
acSynchronizeMesh(void)
|
||||||
|
{
|
||||||
|
return acNodeSynchronizeMesh(nodes[0], STREAM_DEFAULT);
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user