* The code is distributed under BSD license, you are allowed to use, modify or sell this code, but a statement is required if you used this code any where.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include "vector_types.h"
#include "bbsort.h"
#include "bbsort_kernel.cu"
intgetValue(int2v){
returnv.y;
}
template<typenameT>
TgetValue(Tv){
returnv;
}
# define CUDA_SAFE_CALL_NO_SYNC( call) { \
cudaErrorerr=call;\
if(cudaSuccess!=err){\
fprintf(stderr,"Cuda error in file '%s' in line %i : %s.\n",\
* The code is distributed under BSD license, you are allowed to use, modify or sell this code, but a statement is required if you used this code any where.
* The code is distributed under BSD license, you are allowed to use, modify or sell this code, but a statement is required if you used this code any where.