mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-12 17:33:15 +08:00
Reverting asynchronous exec to Synchronous exec regarding random race condition.
This commit is contained in:
parent
c55ecfd820
commit
8b1c2108ba
@ -308,7 +308,10 @@ struct SyclDevice {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EIGEN_STRONG_INLINE void asynchronousExec() const {
|
EIGEN_STRONG_INLINE void asynchronousExec() const {
|
||||||
sycl_queue().throw_asynchronous();//pass
|
///FIXEDME:: currently there is a race condition regarding the asynch scheduler.
|
||||||
|
//sycl_queue().throw_asynchronous();// does not pass. Temporarily disabled
|
||||||
|
sycl_queue().wait_and_throw(); //pass
|
||||||
|
|
||||||
}
|
}
|
||||||
// This function checks if the runtime recorded an error for the
|
// This function checks if the runtime recorded an error for the
|
||||||
// underlying stream device.
|
// underlying stream device.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user