Class GPUPermission

All Implemented Interfaces:
Serializable, Guard

@Deprecated(since="24", forRemoval=true) public final class GPUPermission extends BasicPermission
Deprecated, for removal: This API element is subject to removal in a future version.
Checking permissions is not supported.
This class defines GPU permissions as described in the following table.
GPU Permissions
Permission Name Allowed Action
access Accessing the instance of CUDAManager. See CUDAManager.instance().
See Also:
  • Constructor Details

    • GPUPermission

      public GPUPermission(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a representation of the named permissions.
      Parameters:
      name - name of the permission
    • GPUPermission

      public GPUPermission(String name, String actions)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a representation of the named permissions.
      Parameters:
      name - name of the permission
      actions - not used, must be null or an empty string
      Throws:
      IllegalArgumentException - if actions is not null or an empty string