Implement memory estimation for AMDGPUs.

Stable.
This commit is contained in:
Seunghoon Lee
2023-04-26 17:44:32 +09:00
parent df0e89be48
commit d2d5011bd3
10 changed files with 47 additions and 53 deletions
+1 -1
View File
@@ -4,5 +4,5 @@ from typing import *
class Optimizer(metaclass=ABCMeta):
driver: Any = None
@abstractmethod
def memory_stats(self, index: int) -> Tuple[int, int]:
def memory_stats(index: int) -> Tuple[int, int]:
pass