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

Change-Id: I8413cfeb0cbf32e2e8369c5b1527c9794a595688
This commit is contained in:
Dino Music
2024-01-22 20:09:00 +05:30
کامیت شده توسط Rakesh Roy
والد 34b25ab7ac
کامیت 111497351d
8فایلهای تغییر یافته به همراه616 افزوده شده و 61 حذف شده
@@ -216,7 +216,13 @@ template <int error_num> void NegativeTestRTCWrapper(const char* program_source)
HIPRTC_CHECK(
hiprtcCreateProgram(&program, program_source, "math_test_rtc.cc", 0, nullptr, nullptr));
#if HT_AMD
std::string args = std::string("-ferror-limit=100");
const char* options[] = {args.c_str()};
hiprtcResult result{hiprtcCompileProgram(program, 1, options)};
#else
hiprtcResult result{hiprtcCompileProgram(program, 0, nullptr)};
#endif
// Get the compile log and count compiler error messages
size_t log_size{};