 
     if(threadIdx.x != 0) return;
 
-    float xcoord[ORI_NBINS];
+    float refined_angle[ORI_NBINS];
     float yval[ORI_NBINS];
 
     int   maxbin[ORIENTATION_MAX_COUNT];


            float newbin = __fdividef( num, denB ); // * M_PI/18.0f; // * 10.0f;
            if( newbin >= 0 && newbin <= 2 ) {
                xcoord[bin] = prev + newbin;
                yval[bin]   = -(num*num) / (4.0f * denB) + hist[prev];

#ifdef LOWE_ORIENTATION_MAX

#include "sift_constants.h"
#include "s_gradiant.h"
#include "excl_blk_prefix_sum.h"
#include "warp_bitonic_sort.h"
#include "debug_macros.h"

using namespace popart;
