#include "operations.cuh"

/*
original_author: Patricio Gonzalez Vivo
description: power of 7
use: pow7(<float|float2|float3|float4> x)
*/

#ifndef FNC_POW2
#define FNC_POW2

inline __host__ __device__ float pow7(float x) { return x * x * x * x * x * x * x; }
inline __host__ __device__ float2 pow7(const float2& x) { return x * x * x * x * x * x * x; }
inline __host__ __device__ float3 pow7(const float3& x) { return x * x * x * x * x * x * x; }
inline __host__ __device__ float4 pow7(const float4& x) { return x * x * x * x * x * x * x; }

#endif
