psykose 1ec88109e2
unmaintained/intel-compute-runtime: move from testing
does not build, not installable for 6 months, not updated for a year

see: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35445
2022-08-01 03:25:20 +02:00

23 lines
771 B
Diff

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());