Fix bugs exposed by enabling GPU asserts.

This commit is contained in:
Antonio Sánchez
2023-01-27 21:43:00 +00:00
committed by Rasmus Munk Larsen
parent ab8725d947
commit 17ae83a966
5 changed files with 19 additions and 18 deletions

View File

@@ -586,7 +586,7 @@ struct extract_data_selector {
template<typename T>
struct extract_data_selector<T,false> {
static typename T::Scalar* run(const T&) { return 0; }
EIGEN_DEVICE_FUNC static typename T::Scalar* run(const T&) { return 0; }
};
template<typename T>