TP CUDA 5.0 / Exemple axpy
axpy (CUDA 5.0)
 Tout Classes Fichiers Fonctions Pages
Init.h
1 #pragma once
2 // CUDA runtime
3 #include <cuda_runtime.h>
4 
5 // helper functions and utilities to work with CUDA
6 #include <helper_cuda.h>
7 #include <helper_functions.h>
8 
9 
10 void InitData(int argc, char** argv,
11  int &size, int &maxBlocks ,int &maxThreads, int &seed
12  );