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 4b5422c commit 9c5da20Copy full SHA for 9c5da20
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