# vim:syntax=apparmor

  abi <abi/3.0>,

# implementation-independent OpenCL access requirements

  # System files

  /etc/OpenCL/** r,
  @{sys}/bus/pci/devices/ r, # libpocl.so -> libhwlock.so, libnvidia-opencl.so, beignet/libcl.so -> libdrm_intel.so
  @{sys}/devices/system/node/ r, # for clGetPlatformIDs() from libOpenCL.so
  @{sys}/devices/system/node/node[0-9]*/meminfo r, # for clGetPlatformIDs() from libOpenCL.so


  # Include additions to the abstraction
  include if exists <abstractions/opencl-common.d>
