Class CudaPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
com.ibm.cuda.CudaPermission
- All Implemented Interfaces:
 Serializable, Guard
Deprecated, for removal: This API element is subject to removal in a future version.
Checking permissions is not supported.
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
ConstructorsConstructorDescriptionCudaPermission(String name) Deprecated, for removal: This API element is subject to removal in a future version.Create a representation of the named permissions.CudaPermission(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. - 
Method Summary
Methods declared in class BasicPermission
equals, getActions, hashCode, implies, newPermissionCollectionMethods declared in class Permission
checkGuard, getName, toString 
- 
Constructor Details
- 
CudaPermission
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
 - 
CudaPermission
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 permissionactions- not used, must be null or an empty string- Throws:
 IllegalArgumentException- if actions is not null or an empty string
 
 -