Added a function for checking whether CUDA-capable devices are available
This commit is contained in:
@@ -49,6 +49,10 @@ AcResult acInit(const AcMeshInfo mesh_info);
|
||||
* called at exit. */
|
||||
AcResult acQuit(void);
|
||||
|
||||
/** Checks whether there are any CUDA devices available. Returns AC_SUCCESS if there is 1 or more,
|
||||
* AC_FAILURE otherwise. */
|
||||
AcResult acCheckDeviceAvailability(void);
|
||||
|
||||
/** Synchronizes a specific stream. All streams are synchronized if STREAM_ALL is passed as a
|
||||
* parameter*/
|
||||
AcResult acSynchronizeStream(const Stream stream);
|
||||
|
Reference in New Issue
Block a user