Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

@peterjc123
Copy link
Contributor

Comment on lines +78 to +79
set RANDOMTEMP_EXECUTABLE=%SRC_DIR%\tmp_bin\nvcc.exe
set CUDA_NVCC_EXECUTABLE=%SRC_DIR%\tmp_bin\randomtemp.exe
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be other way around?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could you please give an example?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently, we can only workground this issue by retrying it several times.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why RANDOMTEMP_EXECUTABLE is points to nvcc and CUDA_NVCC_EXECUTABLE poitns to randomtemp.exe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because randomtemp.exe acts like a shim exectuable, it just passes the argument to the actual program, which is specified by the variable RANDOMTEMP_EXECUTABLE.

Copy link
Member

Choose a reason for hiding this comment

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

Yea I agree with @malfet this does seem a bit confusing when you look at it.

Maybe it'd be better to add a comment here explaining why they point where they point to.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think I understand how it works, but naming of variables is a bit confusing, but indeed it matches one on master

@peterjc123
Copy link
Contributor Author

The cuda builds in nightly jobs seem to be more flaky with the new circleci image which has VS 16.6 installed. So I hope that we could land this asap.

@malfet malfet merged commit 191b23d into pytorch:master May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows CI intermittent error: C2993: 'Derived': illegal type for non-type template parameter '__formal

3 participants