Use device's allocate function instead of internal::aligned_malloc. This would make it easier to track memory usage in device instances.
1 file changed