7a4c9273d7d8b20e11e2e10c4b45d05c8ae9c9d1
Negative queue validation tests were doing many redundant from-file kernel object loads in a loop. This was creating many simulataneous open file handles within many dynamically allocated CodeObject objects. While the CodeObject class implements RAII on the file handles to cleanup on destruction, clear_code_object() only gets called on the destruction of the TestBase-derived test objects (these being a suite abstraction). Due to this we were hitting file open() EMFILE errors (too many open files) in gfx94x CPX mode. Move LoadKernelFromObjFile outside of the test loops and clear_code_object() for each test on each agent. Signed-off-by: Graham Sider <Graham.Sider@amd.com> Change-Id: I6f9d23fd122720c49a58c22698f097906d2fc97c
Description
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Other
1.1%