ailiaGetEnvironmentCount method

int ailiaGetEnvironmentCount(
  1. Pointer<UnsignedInt> env_count
)

~japanese @brief 利用可能な計算環境(CPU, GPU)の数を取得します @param env_count 計算環境情報の数の格納先 @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Gets the number of available computational environments (CPU, GPU). @param env_count The storage location of the number of computational environment information @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

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