Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Bill(Shuzhou) Liu 552a7403bc SWDEV-373189: build error with g++ v12.1.0
Fix the g++ error: ‘memset’ was not declared in this scope

Change-Id: I6231f863801f84a5a8c46543c87499058f2ef381
2022-12-13 08:33:12 -06:00
Bill(Shuzhou) Liu 8d347bb6c4 Return errors when set clock range
Instead of using assert to abort the application, the fix will
return the error code if the input parameters is incorrect.

Change-Id: I00861ddf1198386fb322ea06232a7178fb5ef4bd
2022-12-06 12:39:43 -06:00
Bill(Shuzhou) Liu 0a3ca5c555 SWDEV-370010 - SMILIB returns 'Aborted (core dumped)'
When the sysfs file does not exist, it will return NOT_SUPPORTED
instead of assert faiure.

Change-Id: I3a1c9d7cf627901e141e2617496dfafd2e6b3f25
2022-12-02 07:58:17 -06:00
Bill(Shuzhou) Liu 0c91ef919d Restructure the folder
Move rocm_smi related function to rocm_smi folder. Move amd_smi to
top level include/ and src/ folder. Remove obsolte oam folder.
Change the CMakeLists.txt to update folder locations.

Change-Id: I52e6be739e49f3b0545865f25364787f5985e9c3
2022-10-20 09:23:51 -05:00