         norm = __fsqrt_rn( norm );
         norm = __fdividef( 512.0f, norm );
     }
-#else
-    if( threadIdx.x == 0 ) {
-        norm = 512.0f * rnormf( 128, ptr1 );
-    }
 #endif
     norm = __shfl( norm,  0 );
 

#else // not DESC_USE_ROOT_SIFT
    // OpenCV normalization

    float norm;

#if 1
    norm = descr.x * descr.x
         + descr.y * descr.y
         + descr.z * descr.z

    descr.z = min( descr.z, 0.2f*norm );
    descr.w = min( descr.w, 0.2f*norm );

    norm = descr.x * descr.x
         + descr.y * descr.y
         + descr.z * descr.z
