hipMallocArray tests for default array and surface load store (#2675)

这个提交包含在:
Finlay 编写, GitHub 于 2022-05-25 16:13:18 +05:30 提交
1 父节点 0b6ce41b11
当前提交 d2e351a7dc
2 个文件已更改
+285 -47

没有与搜索条件相匹配的文件

+9
查看文件
@@ -163,7 +163,16 @@ inline bool isImageSupported() {
return imageSupport != 0;
}
/**
* Causes the test to stop and be skipped at runtime.
* reason: Message describing the reason the test has been skipped.
*/
static inline void HIP_SKIP_TEST(char const* const reason) noexcept {
// ctest is setup to parse for "HIP_SKIP_THIS_TEST", at which point it will skip the test.
std::cout << "Skipping test. Reason: " << reason << '\n' << "HIP_SKIP_THIS_TEST" << std::endl;
}
}
// This must be called in the beginning of image test app's main() to indicate whether image
// is supported.