Online Compiler

Is there any site where one can compile CUDA programs online…???
It would be great if it is done…everyone could compile CUDA programs without a GPU…!!!

you can compile without a gpu :p

#include <stdio.h>

#include <omp.h>
#include <vector_types.h>

void RGBtoGrayscaleOpenMP(uchar4 imageArray, unsigned char imageGrayArray, int numRows, int numCols)
{
#pragma omp parallel for collapse(2)
for (int i = 0; i < numRows; ++i)
{
for (int j = 0; j < numCols; ++j)
{
const uchar4 pixel = imageArray[i*numCols+j];
imageGrayArray[i*numCols+j] = 0.299f
pixel.x + 0.587f
pixel.y+0.114f*pixel.z;
}
}
}