SWDEV-431399 - fix issues highlighted by address sanitizer
Change-Id: I927009a8d408bdf13677ce5cc926908fb4552441
Этот коммит содержится в:
1 родитель
7939517b03
Коммит
a87786f060
3 files changed
+6
-6
No files matched your search
@@ -167,8 +167,8 @@ TEST_CASE("Unit_hipDeviceGetCacheConfig_Positive_Threaded") {
|
||||
|
||||
void TestPart3() {
|
||||
hipFuncCache_t returned_cache_config;
|
||||
HIP_CHECK(hipDeviceGetCacheConfig(&returned_cache_config));
|
||||
REQUIRE(returned_cache_config == cache_config_);
|
||||
HIP_CHECK_THREAD(hipDeviceGetCacheConfig(&returned_cache_config));
|
||||
REQUIRE_THREAD(returned_cache_config == cache_config_);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user