title: Pass the data from CPU to GPU without explicitly passing it as a parameter
body: <p>Is it possible to pass the data from CPU to GPU without explicitly passing it as a parameter? </p>
  
  <p>I don't want to pass it as a parameter primarily for syntax sugar reasons - I have about 20 constant parameters I need to pass, and also because I successively invoke two kernels with (almost) same parameters. </p>
  
  <p>I want something along the lines of </p>
  
  <pre><code>__constant__ int* blah;
  
  __global__ myKernel(...){
      ... i want to use blah inside ...
  }
  
  int main(){
      ...
      cudaMalloc(...allocate blah...)
      cudaMemcpy(copy my array from CPU to blah)
  
  }
  </code></pre>