Class CudaPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
com.ibm.cuda.CudaPermission
- All Implemented Interfaces:
Serializable
,Guard
This class defines CUDA permissions as described in the following table.
Permission Name | Allowed Action |
---|---|
configureDeviceCache | Configuring the cache of a device.
See CudaDevice.setCacheConfig(CacheConfig) . |
configureDeviceSharedMemory | Configuring the shared memory of a device.
See CudaDevice.setSharedMemConfig(SharedMemConfig) . |
loadModule | Loading a GPU code module onto a device.
See CudaModule . |
peerAccess.disable | Disabling peer access from one device to another.
See CudaDevice.disablePeerAccess(CudaDevice) . |
peerAccess.enable | Enabling peer access from one device to another.
See CudaDevice.enablePeerAccess(CudaDevice) . |
setDeviceLimit | Setting a device limit.
See CudaDevice.setLimit(Limit, long) . |
- See Also:
-
Constructor Summary
ConstructorDescriptionCudaPermission
(String name) Create a representation of the named permissions.CudaPermission
(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 Details
-
CudaPermission
Create a representation of the named permissions.- Parameters:
name
- name of the permission
-
CudaPermission
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
-