|
Astaroth
3.1
Scalable Multi-GPU Stencil Computations
|
Go to the source code of this file.
Functions | |
| AcResult | acNodeAutoOptimize (const Node node) |
| AcResult | acNodeCreate (const int id, const AcMeshInfo node_config, Node *node) |
| AcResult | acNodeDestroy (Node node) |
| AcResult | acNodeGeneralBoundconds (const Node node, const Stream stream, const AcMeshInfo config) |
| AcResult | acNodeGeneralBoundcondStep (const Node node, const Stream stream, const VertexBufferHandle vtxbuf_handle, const AcMeshInfo config) |
| AcResult | acNodeGetVBApointers (Node *node_handle, AcReal *vbapointer[2]) |
| AcResult | acNodeIntegrate (const Node node, const AcReal dt) |
| AcResult | acNodeIntegrateGBC (const Node node, const AcMeshInfo config, const AcReal dt) |
| AcResult | acNodeIntegrateSubstep (const Node node, const Stream stream, const int step_number, const Volume start, const Volume end, const AcReal dt) |
| AcResult | acNodeLoadConstant (const Node node, const Stream stream, const AcRealParam param, const AcReal value) |
| AcResult | acNodeLoadMesh (const Node node, const Stream stream, const AcMesh host_mesh) |
| AcResult | acNodeLoadMeshWithOffset (const Node node, const Stream stream, const AcMesh host_mesh, const int3 src, const int3 dst, const int num_vertices) |
| AcResult | acNodeLoadPlate (const Node node, const Stream stream, const int3 start, const int3 end, AcMesh *host_mesh, AcReal *plateBuffer, int plate) |
| AcResult | acNodeLoadPlateXcomp (const Node node, const Stream stream, const int3 start, const int3 end, AcMesh *host_mesh, AcReal *plateBuffer, int plate) |
| AcResult | acNodeLoadVertexBuffer (const Node node, const Stream stream, const AcMesh host_mesh, const VertexBufferHandle vtxbuf_handle) |
| AcResult | acNodeLoadVertexBufferWithOffset (const Node node, const Stream stream, const AcMesh host_mesh, const VertexBufferHandle vtxbuf_handle, const int3 src, const int3 dst, const int num_vertices) |
| AcResult | acNodePeriodicBoundconds (const Node node, const Stream stream) |
| AcResult | acNodePeriodicBoundcondStep (const Node node, const Stream stream, const VertexBufferHandle vtxbuf_handle) |
| AcResult | acNodePrintInfo (const Node node) |
| AcResult | acNodeQueryDeviceConfiguration (const Node node, DeviceConfiguration *config) |
| AcResult | acNodeReduceScal (const Node node, const Stream stream, const AcReduction reduction, const VertexBufferHandle vtxbuf_handle, AcReal *result) |
| AcResult | acNodeReduceVec (const Node node, const Stream stream_type, const AcReduction reduction, const VertexBufferHandle vtxbuf0, const VertexBufferHandle vtxbuf1, const VertexBufferHandle vtxbuf2, AcReal *result) |
| AcResult | acNodeReduceVecScal (const Node node, const Stream stream_type, const AcReduction reduction, const VertexBufferHandle vtxbuf0, const VertexBufferHandle vtxbuf1, const VertexBufferHandle vtxbuf2, const VertexBufferHandle vtxbuf3, AcReal *result) |
| AcResult | acNodeSetVertexBuffer (const Node node, const Stream stream, const VertexBufferHandle handle, const AcReal value) |
| AcResult | acNodeStoreIXYPlate (const Node node, const Stream stream, const int3 start, const int3 end, AcMesh *host_mesh, int plate) |
| AcResult | acNodeStoreMesh (const Node node, const Stream stream, AcMesh *host_mesh) |
| AcResult | acNodeStoreMeshWithOffset (const Node node, const Stream stream, const int3 src, const int3 dst, const int num_vertices, AcMesh *host_mesh) |
| AcResult | acNodeStorePlate (const Node node, const Stream stream, const int3 start, const int3 end, AcMesh *host_mesh, AcReal *plateBuffer, int plate) |
| AcResult | acNodeStoreVertexBuffer (const Node node, const Stream stream, const VertexBufferHandle vtxbuf_handle, AcMesh *host_mesh) |
| AcResult | acNodeStoreVertexBufferWithOffset (const Node node, const Stream stream, const VertexBufferHandle vtxbuf_handle, const int3 src, const int3 dst, const int num_vertices, AcMesh *host_mesh) |
| AcResult | acNodeSwapBuffers (const Node node) |
| AcResult | acNodeSynchronizeMesh (const Node node, const Stream stream) |
| AcResult | acNodeSynchronizeStream (const Node node, const Stream stream) |
| AcResult | acNodeSynchronizeVertexBuffer (const Node node, const Stream stream, const VertexBufferHandle vtxbuf_handle) |
| AcResult acNodeCreate | ( | const int | id, |
| const AcMeshInfo | node_config, | ||
| Node * | node ) |
Initializes all devices on the current node.
Devices on the node are configured based on the contents of AcMesh.
Usage example:
Resets all devices on the current node.
| AcResult acNodeGeneralBoundconds | ( | const Node | node, |
| const Stream | stream, | ||
| const AcMeshInfo | config ) |
| AcResult acNodeGeneralBoundcondStep | ( | const Node | node, |
| const Stream | stream, | ||
| const VertexBufferHandle | vtxbuf_handle, | ||
| const AcMeshInfo | config ) |
| AcResult acNodeIntegrateGBC | ( | const Node | node, |
| const AcMeshInfo | config, | ||
| const AcReal | dt ) |
| AcResult acNodeIntegrateSubstep | ( | const Node | node, |
| const Stream | stream, | ||
| const int | step_number, | ||
| const Volume | start, | ||
| const Volume | end, | ||
| const AcReal | dt ) |
| AcResult acNodeLoadConstant | ( | const Node | node, |
| const Stream | stream, | ||
| const AcRealParam | param, | ||
| const AcReal | value ) |
| AcResult acNodeLoadMeshWithOffset | ( | const Node | node, |
| const Stream | stream, | ||
| const AcMesh | host_mesh, | ||
| const int3 | src, | ||
| const int3 | dst, | ||
| const int | num_vertices ) |
| AcResult acNodeLoadPlate | ( | const Node | node, |
| const Stream | stream, | ||
| const int3 | start, | ||
| const int3 | end, | ||
| AcMesh * | host_mesh, | ||
| AcReal * | plateBuffer, | ||
| int | plate ) |
| AcResult acNodeLoadPlateXcomp | ( | const Node | node, |
| const Stream | stream, | ||
| const int3 | start, | ||
| const int3 | end, | ||
| AcMesh * | host_mesh, | ||
| AcReal * | plateBuffer, | ||
| int | plate ) |
| AcResult acNodeLoadVertexBuffer | ( | const Node | node, |
| const Stream | stream, | ||
| const AcMesh | host_mesh, | ||
| const VertexBufferHandle | vtxbuf_handle ) |
Deprecated ?
| AcResult acNodeLoadVertexBufferWithOffset | ( | const Node | node, |
| const Stream | stream, | ||
| const AcMesh | host_mesh, | ||
| const VertexBufferHandle | vtxbuf_handle, | ||
| const int3 | src, | ||
| const int3 | dst, | ||
| const int | num_vertices ) |
Deprecated ? Might be useful though if the user wants to load only one vtxbuf. But in this case the user should supply a AcReal* instead of vtxbuf_handle
| AcResult acNodePeriodicBoundcondStep | ( | const Node | node, |
| const Stream | stream, | ||
| const VertexBufferHandle | vtxbuf_handle ) |
Prints information about the devices available on the current node.
Requires that Node has been initialized with @See acNodeCreate().
| AcResult acNodeQueryDeviceConfiguration | ( | const Node | node, |
| DeviceConfiguration * | config ) |
| AcResult acNodeReduceScal | ( | const Node | node, |
| const Stream | stream, | ||
| const AcReduction | reduction, | ||
| const VertexBufferHandle | vtxbuf_handle, | ||
| AcReal * | result ) |
| AcResult acNodeReduceVec | ( | const Node | node, |
| const Stream | stream_type, | ||
| const AcReduction | reduction, | ||
| const VertexBufferHandle | vtxbuf0, | ||
| const VertexBufferHandle | vtxbuf1, | ||
| const VertexBufferHandle | vtxbuf2, | ||
| AcReal * | result ) |
| AcResult acNodeReduceVecScal | ( | const Node | node, |
| const Stream | stream_type, | ||
| const AcReduction | reduction, | ||
| const VertexBufferHandle | vtxbuf0, | ||
| const VertexBufferHandle | vtxbuf1, | ||
| const VertexBufferHandle | vtxbuf2, | ||
| const VertexBufferHandle | vtxbuf3, | ||
| AcReal * | result ) |
| AcResult acNodeSetVertexBuffer | ( | const Node | node, |
| const Stream | stream, | ||
| const VertexBufferHandle | handle, | ||
| const AcReal | value ) |
| AcResult acNodeStoreIXYPlate | ( | const Node | node, |
| const Stream | stream, | ||
| const int3 | start, | ||
| const int3 | end, | ||
| AcMesh * | host_mesh, | ||
| int | plate ) |
| AcResult acNodeStoreMeshWithOffset | ( | const Node | node, |
| const Stream | stream, | ||
| const int3 | src, | ||
| const int3 | dst, | ||
| const int | num_vertices, | ||
| AcMesh * | host_mesh ) |
| AcResult acNodeStorePlate | ( | const Node | node, |
| const Stream | stream, | ||
| const int3 | start, | ||
| const int3 | end, | ||
| AcMesh * | host_mesh, | ||
| AcReal * | plateBuffer, | ||
| int | plate ) |
| AcResult acNodeStoreVertexBuffer | ( | const Node | node, |
| const Stream | stream, | ||
| const VertexBufferHandle | vtxbuf_handle, | ||
| AcMesh * | host_mesh ) |
Deprecated ?
| AcResult acNodeStoreVertexBufferWithOffset | ( | const Node | node, |
| const Stream | stream, | ||
| const VertexBufferHandle | vtxbuf_handle, | ||
| const int3 | src, | ||
| const int3 | dst, | ||
| const int | num_vertices, | ||
| AcMesh * | host_mesh ) |
Deprecated ?