79451289

Date: 2025-02-19 12:23:13
Score: 1.5
Natty:
Report link

I used these instructions and arrived at desired result

sudo nvcc add1.cu -o add1_cuda [sudo] password for gksen: sudo nvprof --unified-memory-profiling off ./add1_cuda ==12093== NVPROF is profiling process 12093, command: ./add1_cuda Max error: 0 ==12093== Profiling application: ./add1_cuda ==12093== Profiling result: Type Time(%) Time Calls Avg Min Max Name GPU activities: 100.00% 163.97ms 1 163.97ms 163.97ms 163.97ms add(int, float*, float*) API calls: 52.22% 163.98ms 1 163.98ms 163.98ms 163.98ms cudaDeviceSynchronize .......................................

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): .......................................
  • Low reputation (1):
Posted by: Goutam Sen