Guest User

Untitled

a guest
Aug 18th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <cuda.h>
  2. #include <cuda_runtime.h>
  3. int main (int argc, char *argv[])
  4. {
  5. void *a_d;
  6. MPI_Init (&argc, &argv);
  7.  
  8. cudaMalloc( (void **) &a_d, 1000);
  9. cudaFree(a_d);
  10.  
  11. MPI_Finalize();
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment