aboutsummaryrefslogtreecommitdiffstats
path: root/testing/intel-compute-runtime/pthread-yield.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/intel-compute-runtime/pthread-yield.patch')
-rw-r--r--testing/intel-compute-runtime/pthread-yield.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/testing/intel-compute-runtime/pthread-yield.patch b/testing/intel-compute-runtime/pthread-yield.patch
deleted file mode 100644
index 8ca6a482e10..00000000000
--- a/testing/intel-compute-runtime/pthread-yield.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-pthread_yield -> sched_yield
----
---- a/opencl/test/unit_test/os_interface/linux/drm_gem_close_worker_tests.cpp
-+++ b/opencl/test/unit_test/os_interface/linux/drm_gem_close_worker_tests.cpp
-@@ -121,7 +121,7 @@
-
- //wait for worker to complete or deadCnt drops
- while (!worker->isEmpty() && (deadCnt-- > 0))
-- pthread_yield(); //yield to another threads
-+ sched_yield(); //yield to another threads
-
- worker->close(false);
-
-@@ -142,7 +142,7 @@
-
- //wait for worker to complete or deadCnt drops
- while (!worker->isEmpty() && (deadCnt-- > 0))
-- pthread_yield(); //yield to another threads
-+ sched_yield(); //yield to another threads
-
- //and check if GEM was closed
- EXPECT_EQ(1, this->drmMock->gem_close_cnt.load());