# vim:syntax=apparmor
# 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

