Commit 85e22b5
authored
The test_cuda.py setup purports to test half tensors, but actually just
re-tests FloatTensors because the keys in type_map were str instead of
type. Testing HalfTensors is more complicated, requiring changes to
precision and requires excluding some unimplemented methods.
We should fully test half CUDA tensors. This change just deletes the
duplicate tests of FloatTensor.
1 parent 3e85613 commit 85e22b5
1 file changed
+3
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
| 412 | + | |
419 | 413 | | |
420 | | - | |
| 414 | + | |
421 | 415 | | |
422 | 416 | | |
423 | 417 | | |
| |||
1407 | 1401 | | |
1408 | 1402 | | |
1409 | 1403 | | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | 1404 | | |
1417 | 1405 | | |
1418 | 1406 | | |
| |||
0 commit comments