java.lang.Object
java.security.Permission
java.security.BasicPermission
com.ibm.gpu.GPUPermission
- All Implemented Interfaces:
Serializable,Guard
This class defines GPU permissions as described in the following table.
| Permission Name | Allowed Action |
|---|---|
| access | Accessing the instance of CUDAManager.
See CUDAManager.instance(). |
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGPUPermission(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, newPermissionCollectionMethods declared in class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
GPUPermission
Create a representation of the named permissions.- Parameters:
name- name of the permission
-
GPUPermission
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
-