Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[src] Fix issue with CUDA device initialization if 'wait' specified. Thx: @olix20 #2295

Merged
merged 3 commits into from Mar 24, 2018

Conversation

danpovey
Copy link
Contributor

No description provided.

@@ -65,6 +65,13 @@ static bool GetCudaContext(int32 num_gpus, std::string *debug_str) {
if (cudaFree(0) == 0)
return true;

if (debug_str == NULL) {
// this function called when "wait" is specified... don't get debug_str,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to reword this comment... it's rather funky.

@danpovey danpovey merged commit 9f7e55a into kaldi-asr:master Mar 24, 2018
LvHang pushed a commit to LvHang/kaldi that referenced this pull request Apr 14, 2018
Skaiste pushed a commit to Skaiste/idlak that referenced this pull request Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants