Wrapper function for "cudaGetDeviceCount"
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(out) | :: | val |
integer function device_Get_Count(val) result(stat) !> Wrapper function for "cudaGetDeviceCount" implicit none integer(int32), intent(out) :: val ! Work variables integer(c_int) :: c_val stat = cudaGetDeviceCount(c_val) val = int(c_val,int32) return end function device_Get_Count