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

Este cometimento está contido em:
Danylo Lytovchenko criou e GitHub cometeu 2025-08-20 19:58:06 +05:30
1 ascendente 5840940caa
cometimento f7338717ae
1574 ficheiros modificados
+162903 -199277

Não existem ficheiros que correspondam à sua pesquisa

+5 -7
Ver ficheiro
@@ -54,14 +54,12 @@ TEST_CASE("Unit_hipStreamCreate_MultistreamBasicFunctionalities") {
for (int i = 0; i < NUM_STREAMS; i++) {
HIP_CHECK(hipStreamCreate(&streams[i]));
HIP_CHECK(hipMalloc(&data[i],
(hipAPIStreamDisableTest::NN)*sizeof(float)));
hipLaunchKernelGGL(HIP_KERNEL_NAME(hipAPIStreamDisableTest::kernel),
dim3(1), dim3(1), 0, streams[i], data[i], xd,
hipAPIStreamDisableTest::NN);
HIP_CHECK(hipMalloc(&data[i], (hipAPIStreamDisableTest::NN) * sizeof(float)));
hipLaunchKernelGGL(HIP_KERNEL_NAME(hipAPIStreamDisableTest::kernel), dim3(1), dim3(1), 0,
streams[i], data[i], xd, hipAPIStreamDisableTest::NN);
HIP_CHECK(hipGetLastError());
hipLaunchKernelGGL(HIP_KERNEL_NAME(hipAPIStreamDisableTest::nKernel),
dim3(1), dim3(1), 0, 0, yd);
hipLaunchKernelGGL(HIP_KERNEL_NAME(hipAPIStreamDisableTest::nKernel), dim3(1), dim3(1), 0, 0,
yd);
HIP_CHECK(hipGetLastError());
HIP_CHECK(hipStreamDestroy(streams[i]));
}