25#ifndef _WRAPS_C_TFC_CUDA_H_
26#define _WRAPS_C_TFC_CUDA_H_
467CAPI_FUNC(HRESULT)
tfCudaArchs(
char **str,
unsigned int *numChars);
Handle to a AngleHandle instance.
Definition tfCBond.h:47
Handle to a BondHandle instance.
Definition tfCBond.h:39
Handle to a cuda::AngleConfig instance.
Definition tfC_cuda.h:54
Handle to a cuda::BondConfig instance.
Definition tfC_cuda.h:46
Handle to a cuda::EngineConfig instance.
Definition tfC_cuda.h:38
Handle to a cuda::SimulatorConfig instance.
Definition tfC_cuda.h:62
HRESULT tfCudaEngineConfig_refreshFluxes(struct tfCudaEngineConfigHandle *handle)
Update fluxes on a CUDA device.
HRESULT tfCudaAngleConfig_refresh(struct tfCudaAngleConfigHandle *handle)
Update all angles on a CUDA device.
HRESULT tfCudaEngineConfig_refreshBoundaryConditions(struct tfCudaEngineConfigHandle *handle)
Update boundary conditions on a CUDA device.
HRESULT tfCudaBondConfig_onDevice(struct tfCudaBondConfigHandle *handle, bool *onDevice)
Check whether the bonds are currently on a device.
HRESULT tfCudaEngineConfig_toDevice(struct tfCudaEngineConfigHandle *handle)
Send engine to device. If engine is already on device, then the call is ignored.
HRESULT tfCudaAngleConfig_onDevice(struct tfCudaAngleConfigHandle *handle, bool *onDevice)
Check whether the angles are currently on a device.
HRESULT tfCudaEngineConfig_refresh(struct tfCudaEngineConfigHandle *handle)
Update the image of the engine on a CUDA device.
HRESULT tfCudaBondConfig_getDevice(struct tfCudaBondConfigHandle *handle, int *deviceId)
Get the id of the device designated for running bonds.
HRESULT tfCudaBondConfig_toDevice(struct tfCudaBondConfigHandle *handle)
Send bonds to device. If bonds are already on device, then the call is ignored.
HRESULT tfCudaAngleConfig_toDevice(struct tfCudaAngleConfigHandle *handle)
Send angles to device. If angles are already on device, then the call is ignored.
HRESULT tfCudaBondConfig_fromDevice(struct tfCudaBondConfigHandle *handle)
Pull engine from device. If engine is not on a device, then the call is ignored.
HRESULT tfCudaEngineConfig_setDevice(struct tfCudaEngineConfigHandle *handle, unsigned int deviceId)
Set the id of the device for running the engine.
HRESULT tfCudaBondConfig_setThreads(struct tfCudaBondConfigHandle *handle, unsigned int numThreads)
Set the number of threads of the CUDA configuration for a CUDA device.
HRESULT tfCudaAngleConfig_fromDevice(struct tfCudaAngleConfigHandle *handle)
Pull engine from device. If engine is not on a device, then the call is ignored.
HRESULT tfCudaEngineConfig_fromDevice(struct tfCudaEngineConfigHandle *handle)
Pull engine from device. If engine is not on a device, then the call is ignored.
HRESULT tfCudaEngineConfig_onDevice(struct tfCudaEngineConfigHandle *handle, bool *onDevice)
Check whether the engine is currently on a device.
HRESULT tfCudaEngineConfig_getDevice(struct tfCudaEngineConfigHandle *handle, int *deviceId)
Get the id of the device running the engine.
HRESULT tfCudaEngineConfig_setThreads(struct tfCudaEngineConfigHandle *handle, unsigned int numThreads)
Set the number of threads of the CUDA configuration for the current CUDA device.
HRESULT tfCudaAngleConfig_refreshAngles(struct tfCudaAngleConfigHandle *handle, struct tfAngleHandleHandle **angles, unsigned int numAngles)
Update angles on a CUDA device.
HRESULT tfCudaAngleConfig_setBlocks(struct tfCudaAngleConfigHandle *handle, unsigned int numBlocks)
Set the number of blocks of the CUDA configuration for a CUDA device.
HRESULT tfCudaAngleConfig_setThreads(struct tfCudaAngleConfigHandle *handle, unsigned int numThreads)
Set the number of threads of the CUDA configuration for a CUDA device.
HRESULT tfSimulatorCUDAConfig_getEngine(struct tfCudaSimulatorConfigHandle *handle, struct tfCudaEngineConfigHandle *itf)
Get the engine CUDA runtime control interface.
HRESULT tfCudaBondConfig_setDevice(struct tfCudaBondConfigHandle *handle, unsigned int deviceId)
Set the id of the device for running bonds.
HRESULT tfSimulatorCUDAConfig_getBonds(struct tfCudaSimulatorConfigHandle *handle, struct tfCudaBondConfigHandle *itf)
Get the bond CUDA runtime control interface.
HRESULT tfCudaEngineConfig_refreshPotentials(struct tfCudaEngineConfigHandle *handle)
Update potentials on a CUDA device.
HRESULT tfCudaEngineConfig_clearDevice(struct tfCudaEngineConfigHandle *handle)
Clear configured device for the engine.
HRESULT tfCudaArchs(char **str, unsigned int *numChars)
Get the supported CUDA architectures of this installation.
HRESULT tfSimulatorCUDAConfig_getAngles(struct tfCudaSimulatorConfigHandle *handle, struct tfCudaAngleConfigHandle *itf)
Get the angle CUDA runtime control interface.
HRESULT tfCudaBondConfig_setBlocks(struct tfCudaBondConfigHandle *handle, unsigned int numBlocks)
Set the number of blocks of the CUDA configuration for a CUDA device.
HRESULT tfCudaAngleConfig_getDevice(struct tfCudaAngleConfigHandle *handle, int *deviceId)
Get the id of the device designated for running angles.
HRESULT tfCudaBondConfig_refreshBonds(struct tfCudaBondConfigHandle *handle, struct tfBondHandleHandle **bonds, unsigned int numBonds)
Update bonds on a CUDA device.
HRESULT tfSimulator_getCUDAConfig(struct tfCudaSimulatorConfigHandle *handle)
Get simulator CUDA runtime interface.
HRESULT tfCudaAngleConfig_refreshAngle(struct tfCudaAngleConfigHandle *handle, struct tfAngleHandleHandle *bh)
Update a angle on a CUDA device.
HRESULT tfCudaEngineConfig_setBlocks(struct tfCudaEngineConfigHandle *handle, unsigned int numBlocks)
Set the number of blocks of the CUDA configuration for the current CUDA device.
HRESULT tfCudaBondConfig_refresh(struct tfCudaBondConfigHandle *handle)
Update all bonds on a CUDA device.
HRESULT tfCudaBondConfig_refreshBond(struct tfCudaBondConfigHandle *handle, struct tfBondHandleHandle *bh)
Update a bond on a CUDA device.