     // ----------------------------------------------------------------------
 
     // Select the index type.
-    typedef Index<THaystack, FMIndex<void, CUDAFMIndexConfig> > TIndex;
+    typedef Index<THaystack, FMIndex<void, CudaFMIndexConfig> > TIndex;
 
     // Build the index over the reversed haystack.
     TIndex index(haystack);

#include <seqan/basic.h>
#include <seqan/sequence.h>
#include <seqan/index.h>

using namespace seqan;

// ==========================================================================
// Classes
// ==========================================================================

// --------------------------------------------------------------------------
// Class CUDAFMIndexConfig
// --------------------------------------------------------------------------
// Select the traits for the FM-index.

struct CUDAFMIndexConfig
{
    typedef TwoLevels<void>      TValuesSpec;
    typedef Naive<void>          TSentinelsSpec;

    static const unsigned SAMPLING = 8;
};

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

        std::cerr << "USAGE: " << argv[0] << " <TEXT> <PATTERN> [<PATTERN> ...]" << std::endl;
        return 1;
    }

    // Create a haystack.
    THaystack haystack = argv[1];

