We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa4fd1 commit 2b8b63aCopy full SHA for 2b8b63a
src/torchcodec/_core/DeviceInterface.h
@@ -32,8 +32,8 @@ struct DeviceInterfaceKey {
32
33
explicit DeviceInterfaceKey(torch::DeviceType type) : deviceType(type) {}
34
35
- DeviceInterfaceKey(torch::DeviceType type, const std::string_view& var)
36
- : deviceType(type), variant(var) {}
+ DeviceInterfaceKey(torch::DeviceType type, const std::string_view& variant)
+ : deviceType(type), variant(variant) {}
37
};
38
39
class DeviceInterface {
0 commit comments