Files
rocm-systems/projects
Andres Rodriguez c589186700 Fix hsaKmtOpen incorrectly doing nothing in some fork scenarios
Currently, if a process' parent called hsaKmtOpen, the child will be
unable to open a connection to KFD, since kfd_open_count will be > 0.

When forking, the refcount should be reset, in order to allow the child
to re-open /dev/kfd.

Change-Id: Ia4b78f6bacc4f82e8ac724e5f488a3eff5084007


[ROCm/ROCR-Runtime commit: 0de39b6724]
2016-11-01 15:54:17 -04:00
..