Change hardcoded warp limit of 1024 to a #define (currently 4096) to accomodate changed warp definition for Dave's kernels)