torch-mlir/lib
Sean Silva 0b7c443256 [RefBackend] Properly initialize refbackrt::Tensor refcount.
Although `refCount` is initialized as `std::atomic<int> refCount{0};` in
the definition of Tensor, our tail-allocating malloc would ignore it,
resulting in bogus values that led to leaks.

Caught with LeakSanitizer, but I added an assertion that the refcount is
non-negative to begin with, which should catch this bug in the future
fairly consistently (assuming the garbage refcount is negative half the
time).
2020-11-24 12:01:35 -08:00
..
Backend/RefJIT Sever C++ level depend on IREE and rebase on exe and python interface. 2020-11-16 21:32:56 -08:00
CAPI Add TorchScript graph importer. 2020-11-23 14:20:09 -08:00
Conversion Add aten.mm op and "test" it e2e. 2020-11-20 17:21:24 -08:00
Dialect Bump llvm-project to f4f8a67aaf13bc66a2b7d55561b14a3724a5e0de. 2020-11-22 13:14:44 -08:00
Python Add missing dependency on NPCOMPCAPI from NPCOMPPythonCommon 2020-10-22 22:44:18 -07:00
RefBackend [RefBackend] Properly initialize refbackrt::Tensor refcount. 2020-11-24 12:01:35 -08:00
Typing Start reworking towards a shared library build. 2020-10-09 16:02:58 -07:00
CMakeLists.txt Sever C++ level depend on IREE and rebase on exe and python interface. 2020-11-16 21:32:56 -08:00
InitAll.cpp Sever C++ level depend on IREE and rebase on exe and python interface. 2020-11-16 21:32:56 -08:00