 
 int main( int argc, char* argv[] ) {
 
-	std::time_t start, end;
-	std::time(&start);
-
 	const std::size_t N = 100000;
 	const std::size_t THREADS = 800;
 

	CUDA_CALL( cudaMemcpy( reinterpret_cast<void*>(rawData), reinterpret_cast<const void*>(&hostData.front()), N*sizeof(int), cudaMemcpyHostToDevice ) );

	dim3 grid( (N+THREADS-1)/THREADS ), threads( THREADS );
	squareArray<int><<<grid,threads>>>( deviceData );
	CUDA_CALL( cudaDeviceSynchronize() );
	CUDA_CHECK_ERRORS();

	squareArray<int><<<grid,threads>>>( rawData, N );
	CUDA_CALL( cudaDeviceSynchronize() );
	CUDA_CHECK_ERRORS();

	return EXIT_SUCCESS;


#include <ctime>
#include <iomanip>
#include <iostream>
#include <vector>
#include "../include/ecuda/array.hpp"

