summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utests/runtime_barrier_list.cpp1
-rw-r--r--utests/runtime_event.cpp1
-rw-r--r--utests/runtime_marker_list.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/utests/runtime_barrier_list.cpp b/utests/runtime_barrier_list.cpp
index 135996f5..3b8d3c37 100644
--- a/utests/runtime_barrier_list.cpp
+++ b/utests/runtime_barrier_list.cpp
@@ -65,7 +65,6 @@ void runtime_barrier_list(void)
for (uint32_t i = 0; i < n; ++i) {
OCL_ASSERT(((int*)buf_data[0])[i] == (int)value + 0x3);
}
- clEnqueueUnmapMemObject(queue, buf[0], buf_data[0], 0, NULL, NULL);
for (cl_uint i = 0; i != sizeof(ev) / sizeof(cl_event); ++i) {
clReleaseEvent(ev[i]);
diff --git a/utests/runtime_event.cpp b/utests/runtime_event.cpp
index f8170a36..00e02f1d 100644
--- a/utests/runtime_event.cpp
+++ b/utests/runtime_event.cpp
@@ -50,7 +50,6 @@ void runtime_event(void)
for (uint32_t i = 0; i < n; ++i) {
OCL_ASSERT(((int*)buf_data[0])[i] == (int)value + 0x3);
}
- clEnqueueUnmapMemObject(queue, buf[0], buf_data[0], 0, NULL, NULL);
for (cl_uint i = 0; i != sizeof(ev) / sizeof(cl_event); ++i) {
clReleaseEvent(ev[i]);
diff --git a/utests/runtime_marker_list.cpp b/utests/runtime_marker_list.cpp
index f64b1d15..751f4a03 100644
--- a/utests/runtime_marker_list.cpp
+++ b/utests/runtime_marker_list.cpp
@@ -65,7 +65,6 @@ void runtime_marker_list(void)
for (uint32_t i = 0; i < n; ++i) {
OCL_ASSERT(((int*)buf_data[0])[i] == (int)value + 0x3);
}
- clEnqueueUnmapMemObject(queue, buf[0], buf_data[0], 0, NULL, NULL);
for (cl_uint i = 0; i != sizeof(ev) / sizeof(cl_event); ++i) {
clReleaseEvent(ev[i]);