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.
2 parents 8b1d309 + 422e4ba commit d075361Copy full SHA for d075361
backends/apple/metal/runtime/shims/memory.cpp
@@ -143,7 +143,7 @@ AOTITorchError aoti_torch_empty_strided(
143
dtype);
144
int64_t nbytes = numel * element_size;
145
146
- int32_t mps_device_type = aoti_torch_device_type_mps(); // Returns 13
+ int32_t mps_device_type = aoti_torch_device_type_mps(); // Returns 13
147
if (device_type == mps_device_type) {
148
ptr = metal_allocate_buffer(nbytes);
149
if (!ptr) {
0 commit comments