EXSWHTEC-289 - Implement tests for remainder and rounding device math functions #234

Change-Id: I8413cfeb0cbf32e2e8369c5b1527c9794a595688
Tento commit je obsažen v:
Dino Music
2024-01-22 20:09:00 +05:30
odevzdal Rakesh Roy
rodič 34b25ab7ac
revize 111497351d
8 změnil soubory, kde provedl 616 přidání a 61 odebrání
+3 -3
Zobrazit soubor
@@ -178,7 +178,7 @@ static inline bool IsGfx11() {
hipDeviceProp_t props{};
HIP_CHECK(hipGetDevice(&device));
HIP_CHECK(hipGetDeviceProperties(&props, device));
// Get GCN Arch Name and compare to check if it is gfx11
// Get GCN Arch Name and compare to check if it is gfx11
std::string arch = std::string(props.gcnArchName);
auto pos = arch.find("gfx11");
if (pos != std::string::npos)
@@ -186,7 +186,7 @@ static inline bool IsGfx11() {
else
return false;
#else
std::cout<<"Have to be either Nvidia or AMD platform, asserting"<<std::endl;
std::cout << "Have to be either Nvidia or AMD platform, asserting" << std::endl;
assert(false);
#endif
}
@@ -321,7 +321,7 @@ void launchKernel(K kernel, Dim numBlocks, Dim numThreads, std::uint32_t memPerB
launchRTCKernel<Typenames...>(kernel, numBlocks, numThreads, memPerBlock, stream,
std::forward<Args>(packedArgs)...);
#endif
HIP_CHECK(hipGetLastError());
HIP_CHECK(hipGetLastError());
}
//---