- java.lang.Object
-
- java.security.Permission
-
- java.security.BasicPermission
-
- com.ibm.gpu.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GPUPermission(String name)
Create a representation of the named permissions.GPUPermission(String name, String actions)
Create a representation of the named permissions.
-
Method Summary
-
Methods declared in class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
-
Methods declared in class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Constructor Detail
-
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 permissionactions
- not used, must be null or an empty string- Throws:
IllegalArgumentException
- if actions is not null or an empty string
-
-