Mathieu Zhang

Results 4 comments of Mathieu Zhang

> Can you provide an example that reproduces this issue? ```cpp TEST(ThrustCubCachingDeviceAllocator, DoubleFree) { // Using via Thrust with -DTHRUST_CACHING_DEVICE_MALLOC using CubAllocator = thrust::cuda_cub::cub::CachineDeviceAllocator; CubAllocator & g_cub_allocator = thrust::cuda_cub::get_allocator(); g_cub_allocator.FreeAllCached();...

> Double freeing a pointer is undefined behavior, which includes the behavior seen here. I agree. This is just to demonstrate the behavior when calling this allocator to deallocate a...

I am also running into this problem. We have a series of class hierarchies that has factory methods for generating instances (i.e. similar to @mgilson's example above). Pylint interprets subclass...

Thanks! BTW, I have found this only affect class constructor that are overloaded by subclass and called using `super`: ``` py class Base(object): @classmethod def make(cls): return cls() make2 =...