Skip to content

Commit

Permalink
Fix order for class and DLL export keywords for Windows builds (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
liu15 authored Apr 30, 2024
1 parent 9d44dbd commit c26ce52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/care/KeyValueSorter_decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace care {
/// to make this GPU friendly.
///////////////////////////////////////////////////////////////////////////
template <typename KeyType, typename ValueType, typename Exec=RAJAExec>
CARE_DLL_API class KeyValueSorter;
class CARE_DLL_API KeyValueSorter;

/// LocalKeyValueSorter should be used as the type for HOSTDEV functions
/// to indicate that the function should only be called in a RAJA context.
Expand Down Expand Up @@ -113,7 +113,7 @@ size_t eliminateKeyValueDuplicates(host_device_ptr<KeyType>& newKeys,
/// arrays to be compatible with sortKeyValueArrays.
///////////////////////////////////////////////////////////////////////////
template <typename KeyType, typename ValueType>
CARE_DLL_API class KeyValueSorter<KeyType, ValueType, RAJADeviceExec> {
class CARE_DLL_API KeyValueSorter<KeyType, ValueType, RAJADeviceExec> {
public:

///////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -694,7 +694,7 @@ void initializeValueArray(host_device_ptr<ValueType>& values, const host_device_
/// the need for copying the keys and values into separate arrays after the sort.
///////////////////////////////////////////////////////////////////////////
template <typename KeyType, typename ValueType>
CARE_DLL_API class KeyValueSorter<KeyType, ValueType, RAJA::seq_exec> {
class CARE_DLL_API KeyValueSorter<KeyType, ValueType, RAJA::seq_exec> {
public:

///////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit c26ce52

Please sign in to comment.