NVIDIA / NVIDIA/cuda-samples

"cudaEventSynchronize(stop)" in Visual Studio 2022

Open
#173 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
9.6k
Forks
2.4k
Avg merge
53m
Merged PRs (30d)
1

Description

I opened matrixMul solution in visual studio 2022. When I build in release mode, the code, works But in the debug mode, I get this error:

[Matrix Multiply Using CUDA] - Starting...
GPU Device 0: "Maxwell" with compute capability 5.0

MatrixA(320,320), MatrixB(640,320)
Computing result using CUDA Kernel...
done
CUDA error at C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.6\Samples\0_Introduction\matrixMul\matrixMul.cu:228 code=702(cudaErrorLaunchTimeout) "cudaEventSynchronize(stop)"

C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.6\bin\win64\Debug\matrixMul.exe (process 15092) exited with code 1.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .

Any idea about that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the matrixMul solution in Visual Studio 2022 and reproduce the failure by comparing its Debug and Release builds. Inspect matrixMul.cu at line 228 and the CUDA 11.6 execution context, including the Maxwell compute-capability-5.0 device; done means identifying a reproducible cause for cudaErrorLaunchTimeout and documenting the applicable resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
hpc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.