/*******************************************************
 * Copyright (c) 2014, ArrayFire
 * All rights reserved.
 *
 * This file is distributed under 3-clause BSD license.
 * The complete license agreement can be obtained at:
 * http://arrayfire.com/licenses/BSD-3-Clause
 ********************************************************/

#include <cuComplex.h>
#include <math_functions.h>
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned short ushort;
typedef cuFloatComplex cfloat;
typedef cuDoubleComplex cdouble;
typedef long long intl;
typedef unsigned long long uintl;

__device__ __inline__ float cabs2(cfloat in) { return in.x * in.x + in.y * in.y;}
__device__ __inline__ double cabs2(cdouble in) { return in.x * in.x + in.y * in.y; }
