         threshold = huge_threshold;
     else if (val == "epic")
         threshold = epic_threshold;
+    else if (val == "max")
+        threshold = max_threshold;
     else
     {
         std::cerr << "invalid test size \"" << val << "\"" << std::endl;

const size_t default_threshold = 1 << 16;  //  64K
const size_t large_threshold   = 1 << 20;  //   1M
const size_t huge_threshold    = 1 << 24;  //  16M
const size_t epic_threshold    = 1 << 27;  // 128M

std::vector<size_t> test_sizes;
std::vector<size_t> get_test_sizes(void)


        
        error = cudaGetLastError();
        if(error && error != cudaErrorMemoryAllocation)
        {
            if (!concise)
            {
