Run pre-commit's whitespace related hooks on projects/rocr-runtime (#2130)

* Run pre-commit's whitespace related hooks on projects/rocr-runtime

In order for pre-commit to be useful, everything needs to meet a common
baseline.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>

* Add missing semicolon which would block compilation on big endian CPUs

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>

---------

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Dieser Commit ist enthalten in:
Mario Limonciello verfasst und GitHub committed 2025-12-08 07:56:50 -06:00
1 Ursprung 3faf36fb25
Commit bc5d48e76c
60 Dateien geändert
+300 -303

Keine Dateien entsprechen Ihrer Suche

@@ -421,7 +421,7 @@ hsa_status_t ImageRuntime::CreateImageHandleWithLayout(
if(image_layout->version!=1)
return (hsa_status_t)HSA_EXT_STATUS_ERROR_IMAGE_FORMAT_UNSUPPORTED;
uint32_t id;
HSA::hsa_agent_get_info(component, (hsa_agent_info_t)HSA_AMD_AGENT_INFO_CHIP_ID, &id);