Possible syncobj issue from Tony Ye
Hi Matt,
I referred to (well, copied) the xe_compute test and wrote a huc_copy test. But it seems the sync object doesn’t work. If I insert sleep(1) after the xe_exec_wait(), then the test can pass. Could you help take a look on the patch attached?
+ xe_exec_wait(fd, engine, ADDR_BATCH);
//the wait sync object doesn’t work, so the following comparison will fail. If sleep 1s here, then it will pass.
+ for(int i = 0; i < SIZE_DATA; i++) {
+ igt_assert(((char*) bo_dict[1].data)[i] == ((char*) bo_dict[0].data)[i]);
+ }
Regards, Tony
Edited by Matthew Brost