-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Error "member may not be initialized" due to constexpr at Windows #48716
Copy link
Copy link
Closed
Labels
module: windowsWindows support for PyTorchWindows support for PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
As discussed at pytorch/vision#3051, the use of constexpr at ir.h and pickler.h raises member may not be initialized errors on TorchVision on Windows. We should consider replacing it with CONSTEXPR_EXCEPT_WIN_CUDA.
This issue has appeared before and was patched in different places: #27958, #39394, #7962
cc @peterjc123 @maxluk @nbcsm @guyang3532 @gunandrose4u @mszhanyi @skyline75489
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
module: windowsWindows support for PyTorchWindows support for PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module