summaryrefslogtreecommitdiff
path: root/utests/runtime_climage_from_boname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utests/runtime_climage_from_boname.cpp')
-rw-r--r--utests/runtime_climage_from_boname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/runtime_climage_from_boname.cpp b/utests/runtime_climage_from_boname.cpp
index 21608862..a228c977 100644
--- a/utests/runtime_climage_from_boname.cpp
+++ b/utests/runtime_climage_from_boname.cpp
@@ -161,7 +161,7 @@ void runtime_climage_from_boname(void)
#endif
if(!oclCreateImageFromLibvaIntel){
fprintf(stderr, "Failed to get extension clCreateImageFromLibvaIntel\n");
- exit(1);
+ OCL_ASSERT(0);
}
cl_mem dst = oclCreateImageFromLibvaIntel(ctx, &imageParam, NULL);