Passing two numbers as parameters to kernel, allocating memory on Device and Adding them.
cudaMalloc()
is used to allocate memory on device.- Will launch single thread.
Passing two numbers as parameters to kernel, allocating memory on Device and Adding them.
cudaMalloc()
is used to allocate memory on device.