18547173e9b33bb1b579e531de7523b1fb487971
If a user queries the pointer info on an invalid pointer, hsaKmtQueryPointerInfo will return error or unknown pointer. The other fields in HsaPointerInfo are invalid, so we do not return them to the user. Also removing the assert and returning unknown pointer instead. As the assert will not trigger in release builds. hsaKmtQueryPointerInfo may also return unknown pointer for userptrs as they are not always tracked by thunk. Adjusting code to still treat these pointers as valid in this case. Change-Id: Idf5cd8b61cd532d31b072f449839d223369bb138
Cur síos
Níor tugadh tuairisc
Teangacha
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Eile
1.1%