From 852fae17cf7488652e3bf19106ab80c13a839856 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Sun, 28 Jun 2020 18:15:40 +0300 Subject: [PATCH] Added a function for getting the GPU count from fortran --- include/astaroth_fortran.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/astaroth_fortran.h b/include/astaroth_fortran.h index e0a708d..9c02c1f 100644 --- a/include/astaroth_fortran.h +++ b/include/astaroth_fortran.h @@ -45,6 +45,8 @@ void acdevicesynchronizestream_(const Device* device, const Stream* stream); void acdeviceloadmeshinfo_(const Device* device, const AcMeshInfo* info); +void acgetdevicecount_(int* count); + #ifdef __cplusplus } // extern "C" #endif