 	if (verbose && launchDims.x == 1)
 		printf("AF13 opNum:[%i]\n", opNum);
 
+	// this macro builds bunch of IF/ELSE selectors for kernel launch
     DISPATCH_SIMPLE(scalarSimpleStrided, float, PARAMS(n, scalar, x, xStride, extraParams, result, resultStride, allocPointer), OPS_A(SCALAR_OPS))
 
-    /*
-	scalarFloat<<<launchDims.x,launchDims.y,launchDims.z, *stream>>>(
-			opNum,
-			n,
-			scalar,
-			x,
-			xStride,
-			extraParams,
-			result,resultStride, allocPointer);
-*/
 	if (debug)
 		checkCudaErrors(cudaStreamSynchronize(*stream));
 }

	if (ccMajor == 6 && ccMinor == 0)
		shmemThreshold = 65536;
	else if (ccMajor == 6 && ccMinor == 1)
		shmemThreshold = 98304 / 0.3;
	else if (ccMajor == 5 && ccMinor == 2)
		shmemThreshold = 98304;
	else if (ccMajor == 5)

	if (verbose && launchDims.x == 1)
		printf("AF14 opNum:[%i], xLength:[%i]\n", opNum, shape::length(hostXShapeInfo));

	// this macro builds bunch of IF/ELSE selectors for kernel launch
    DISPATCH_SIMPLE(scalarSimpleShaped, float, PARAMS(scalar, x, xShapeInfo, extraParams, result, resultShapeInfo, allocPointer), OPS_A(SCALAR_OPS))

	if (debug)
		checkCudaErrors(cudaStreamSynchronize(*stream));
}
