Fix add tensor
This commit is contained in:
parent
b5172b5bdb
commit
be1cc7ba11
4 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -209,7 +209,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
if (strcmp(tensor1->device, tensor2->device) != 0) {
|
||||
fprintf(stderr, "Tensors must be on the same device: %s and %s\n", &tensor1->device, &tensor2->device);
|
||||
fprintf(stderr, "Tensors must be on the same device: %s and %s\n", tensor1->device, tensor2->device);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
csrc/tensor.o
BIN
csrc/tensor.o
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue