hal_neuralnetworks_armnn: allow GPU access
Neuralnetworks for armnn driver needs GPU access in order to issue OpenCL commands to GPU. Add rule that allows this. Fixes: 183673130 Test: setenforce 1, stop and start hal, see that hal started. Change-Id: I9be0ee4326e5e128a37f2c4df0878f8fbbea7f8d
This commit is contained in:
parent
5b5a004593
commit
9c8327de8d
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
type hal_neuralnetworks_armnn, domain;
|
||||
type hal_neuralnetworks_armnn_exec, vendor_file_type, exec_type, file_type;
|
||||
|
||||
allow hal_neuralnetworks_armnn gpu_device:chr_file rw_file_perms;
|
||||
|
||||
init_daemon_domain(hal_neuralnetworks_armnn)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue