-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
operator==
for vector types
#76
Comments
Is there warning Even with |
Hm, yes, I do get a warning in the detray grid unittest (complete and attach populator), but maybe I am comparing apples and oranges there. Essentially, the populator tries to find out where to put the next Anyway, it is not a priority right now, since it is only really needed for traccc, I guess |
Oh, yes, I see. I might also have to figure out how to do boolean operations like these for vectorized types at some point... |
OK. In the end, we might want to have something like the following for cmath: template <typename scalar_t, int COLS, int ROWS>
struct matrix{
std::array< std::array<scalar_t, COLS>, ROWS> m_data;
}
template < typename scalar_t, int ROWS>
struct vector: public_matrix<scalar_t, 1, ROWS>{}; Then we will be able to define the operators |
Is there an
operator==
for vector types? I am comparing point types in detray on device and get a warning that this is a__host__
functionThe text was updated successfully, but these errors were encountered: