         std::cerr << "USAGE: " << argv[0] << " <TEXT> <PATTERN> [<PATTERN> ...]" << std::endl;
         return 1;
     }
-    
+
     // Create a haystack.
     THaystack haystack = argv[1];
 

    return 0;
}

#endif  // SEQAN_EXTRAS_DEMOS_CUDA_COUNT_H
#include <seqan/basic.h>
#include <seqan/sequence.h>
#include <seqan/index.h>
#include <seqan/index/index_fm_device.h>

using namespace seqan;

// ==========================================================================
// Metafunctions
// ==========================================================================

namespace seqan {

// Manually specialize word size to be compatible with GPU

template <typename TValue>
struct RankDictionaryWordSize_<TValue, TwoLevels<void> > :
    BitsPerValue<__uint32> {};

template <typename TValue>
struct RankDictionaryWordSize_<TValue, TwoLevels<Device<void> > > :
    BitsPerValue<__uint32> {};

template <typename TValue, typename TSpec>
struct RankDictionaryWordSize_<TValue, TwoLevels<View<TSpec> > > :
    BitsPerValue<__uint32> {};

}

// ==========================================================================
// Functions
