You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678
  1. #!/bin/bash
  2. export PATH=/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:${PATH}
  3. # Compilar codigo para GPU
  4. nvcc add.cu -o add_cuda
  5. # Ejecutar codigo
  6. nvprof ./add_cuda
  7. # Finalizada ejecucion