trying to understand leak valgrind with opencl

This commit is contained in:
2025-07-09 12:05:14 +02:00
parent 1f2bebab91
commit 6d5e060d6c
7 changed files with 127 additions and 40 deletions
+9 -1
View File
@@ -244,12 +244,20 @@ int nb_task=9;
//getchar();
#if 0
struct pollfd fd[1];
fd[0].fd=0;
fd[0].events = POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI;
poll(fd, 1, -1);
#endif
usleep(2000000);
standby_all_workers(workers->begin_list->value->arg);
usleep(2000000);
wakeup_all_workers(workers->begin_list->value->arg);
usleep(2000000);
// usleep(200000000);
kill_all_workers(workers->begin_list->value->arg);