Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit test for UVM APIs in FBGEMM_GPU (#516)
Summary: Pull Request resolved: #516 Added a new class CUMemTest(unittest.TestCase) with two methods to test is_uvm_tensor and uvm_to_cpu, respectively. Used hypothesis.given to generate lists of int as input sizes to initialize tensors for testing. The test methods follow the example usage provided. Reviewed By: jianyuh Differential Revision: D26490239 fbshipit-source-id: e34ee97c74d396f72df458a610f43fbcc762741d
- Loading branch information