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

@ -307,9 +307,12 @@ struct SyclDevice {
sycl_queue().wait_and_throw(); //pass sycl_queue().wait_and_throw(); //pass
} }
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.
EIGEN_STRONG_INLINE bool ok() const { EIGEN_STRONG_INLINE bool ok() const {