Skip to content

Commit

Permalink
add a check that device and host match for host=device
Browse files Browse the repository at this point in the history
  • Loading branch information
slava77devel committed Sep 25, 2024
1 parent 3e98eb4 commit a5822d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RecoTracker/LSTCore/src/alpaka/TrackCandidate.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#ifndef RecoTracker_LSTCore_src_alpaka_TrackCandidate_h
#define RecoTracker_LSTCore_src_alpaka_TrackCandidate_h


#include "DataFormats/Portable/interface/alpaka/PortableCollection.h"

#include "RecoTracker/LSTCore/interface/alpaka/Constants.h"
#include "RecoTracker/LSTCore/interface/Module.h"
#include "RecoTracker/LSTCore/interface/TrackCandidatesHostCollection.h"
#include "RecoTracker/LSTCore/interface/TrackCandidatesSoA.h"

#include "Triplet.h"
Expand Down Expand Up @@ -537,4 +539,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::lst {
}
};
} // namespace ALPAKA_ACCELERATOR_NAMESPACE::lst

ASSERT_DEVICE_MATCHES_HOST_COLLECTION(lst::TrackCandidatesDeviceCollection, lst::TrackCandidatesHostCollection);

#endif

0 comments on commit a5822d0

Please sign in to comment.