Module openj9.gpu
Package com.ibm.gpu

Class GPUPermission

All Implemented Interfaces:
Serializable, Guard

public final class GPUPermission extends BasicPermission
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)
      Create a representation of the named permissions.
      Parameters:
      name - name of the permission
    • GPUPermission

      public GPUPermission(String name, String actions)
      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