[Beignet] [PATCH V2 3/3] simple return if spir extension not supported.
xionghu.luo at intel.com
xionghu.luo at intel.com
Fri Mar 13 01:32:41 PDT 2015
From: Luo Xionghu <xionghu.luo at intel.com>
Signed-off-by: Luo Xionghu <xionghu.luo at intel.com>
---
utests/load_program_from_spir.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utests/load_program_from_spir.cpp b/utests/load_program_from_spir.cpp
index 3e4534c..f03e7c2 100644
--- a/utests/load_program_from_spir.cpp
+++ b/utests/load_program_from_spir.cpp
@@ -21,7 +21,7 @@ static void test_load_program_from_spir(void)
extensionStr = std::string(¶m_value.front(), param_value_size-1);
if (!std::strstr(extensionStr.c_str(), "cl_khr_spir")) {
- OCL_ASSERT(0);
+ return;
}
const size_t n = 16;
--
1.9.1
More information about the Beignet
mailing list