SWDEV-470698 - fix formatting, add format check workflow (#657)

Cette révision appartient à :
Danylo Lytovchenko
2025-08-20 16:28:06 +02:00
révisé par GitHub
Parent 5840940caa
révision f7338717ae
1574 fichiers modifiés avec 162972 ajouts et 199346 suppressions
+20 -22
Voir le fichier
@@ -38,28 +38,26 @@ __global__ void test_kernel() {
printf("%-#16.8x\n", 0x42);
}
/**
* @addtogroup printf printf
* @{
* @ingroup PrintfTest
* `int printf()` -
* Method to print the content on output device.
*/
* @addtogroup printf printf
* @{
* @ingroup PrintfTest
* `int printf()` -
* Method to print the content on output device.
*/
/**
* Test Description
* ------------------------
* - Test case to verify alternate forms of printf API.
* Test source
* ------------------------
* - catch/unit/printf/hipPrintfAltForms.cc
* Test requirements
* ------------------------
* - HIP_VERSION >= 6.2
*/
* Test Description
* ------------------------
* - Test case to verify alternate forms of printf API.
* Test source
* ------------------------
* - catch/unit/printf/hipPrintfAltForms.cc
* Test requirements
* ------------------------
* - HIP_VERSION >= 6.2
*/
TEST_CASE("Unit_Printf_PrintfAltFormsTsts") {
int pcieAtomic = 0;
HIP_CHECK(hipDeviceGetAttribute(&pcieAtomic,
hipDeviceAttributeHostNativeAtomicSupported,
0));
HIP_CHECK(hipDeviceGetAttribute(&pcieAtomic, hipDeviceAttributeHostNativeAtomicSupported, 0));
if (!pcieAtomic) {
HipTest::HIP_SKIP_TEST("Device doesn't support pcie atomic, Skipped");
return;
@@ -88,6 +86,6 @@ TEST_CASE("Unit_Printf_PrintfAltFormsTsts") {
REQUIRE(device_output == reference);
}
/**
* End doxygen group PrintfTest.
* @}
*/
* End doxygen group PrintfTest.
* @}
*/