ailiaGetEnvironmentCount method

int ailiaGetEnvironmentCount(
  1. Pointer<UnsignedInt> env_count
)

Gets the number of available computational environments (CPU, GPU).

Parameters:

  • env_count: The storage location of the number of computational environment information

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaGetEnvironmentCount(
  ffi.Pointer<ffi.UnsignedInt> env_count,
) {
  return _ailiaGetEnvironmentCount(
    env_count,
  );
}