Skip to content

Commit

Permalink
Updated introspection in feature extraction functor to correctly iden…
Browse files Browse the repository at this point in the history
…tify feature vector on host
  • Loading branch information
cstyl committed Jun 7, 2023
1 parent ec61590 commit 839baea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MorpheusOracle_FeatureExtractionFunctors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ struct ExtractFeaturesFunctor {
typename std::enable_if_t<
Morpheus::is_dynamic_matrix_container_v<Matrix> &&
Morpheus::is_dense_vector_format_container_v<FeatureVector> &&
Morpheus::has_access_v<ExecSpace, Matrix, FeatureVector>>* =
nullptr) {
Morpheus::has_host_memory_space_v<FeatureVector> &&
Morpheus::has_access_v<ExecSpace, Matrix>>* = nullptr) {
static_assert(
std::is_floating_point_v<typename FeatureVector::value_type>,
"The value_type of the FeatureVector must be a floating-point "
Expand Down

0 comments on commit 839baea

Please sign in to comment.