Created a test to check that the sycl runtime can successfully report errors (like ivision by 0).

Small cleanup
This commit is contained in:
Benoit Steiner
2016-11-17 20:27:54 -08:00
parent 004344cf54
commit 4349fc640e
2 changed files with 30 additions and 9 deletions

View File

@@ -158,10 +158,9 @@ struct SyclDevice {
});
});
m_queue.throw_asynchronous();
} else{
} else {
eigen_assert("no source or destination device memory found.");
}
//::memcpy(dst, src, n);
}
/// The memcpyHostToDevice is used to copy the device only pointer to a host pointer. Using the device