Reverting asynchronous exec to Synchronous exec regarding random race condition.

This commit is contained in:
Mehdi Goli 2016-12-22 16:45:38 +00:00
parent c55ecfd820
commit 8b1c2108ba

View File

@ -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.