ailiaGetSelectedEnvironment method

int ailiaGetSelectedEnvironment(
  1. Pointer<AILIANetwork> net,
  2. Pointer<Pointer<AILIAEnvironment>> env,
  3. int version
)

Gets the selected computational environment.

Parameters:

  • net: A network instance pointer
  • env: The storage location of the computational environment information (Valid until the library is released)
  • version: AILIA_ENVIRONMENT_VERSION

Returns:

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

Implementation

int ailiaGetSelectedEnvironment(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.Pointer<AILIAEnvironment>> env,
  int version,
) {
  return _ailiaGetSelectedEnvironment(
    net,
    env,
    version,
  );
}