 }
 
 // Forward declaration
-int preempt_stream(int, int);
+cudaError_t experiment(int priority_low, int priority_hi);
 
 int main(int argc, char **argv) {
   cudaDeviceProp device_prop;

    fprintf(stderr,
        "%s requires Compute Capability of SM 3.5 or higher to run.\nexiting...\n",
        argv[0]);
    exit(EXIT_WAIVED);
  }

  // get the range of priorities available
  // [ greatest_priority, lowest_priority ]
  int priority_low;
  int priority_hi;
  checkCudaErrors(

#include <cuda_profiler_api.h>
#include <helper_cuda.h>

#define TOTAL_SIZE  256*1024*1024

// # threadblocks
#define TBLOCKS 1024
