public final class CudaPermission extends BasicPermission
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) . |
Constructor and Description |
---|
CudaPermission(String name)
Create a representation of the named permissions.
|
CudaPermission(String name,
String actions)
Create a representation of the named permissions.
|
equals, getActions, hashCode, implies, newPermissionCollection
checkGuard, getName, toString
public CudaPermission(String name)
name
- name of the permissionpublic CudaPermission(String name, String actions)
name
- name of the permissionactions
- not used, must be null or an empty stringIllegalArgumentException
- if actions is not null or an empty stringEclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2013, 2025 IBM Corp. and others.