Commit f5875de
Add DRAM_SSD backend type to BackendType enum (#5802)
Summary:
Pull Request resolved: #5802
X-link: https://github.com/facebookresearch/FBGEMM/pull/2730
Add `DRAM_SSD` as a new backend type to the fbgemm `BackendType` enum in
`fbgemm_gpu/tbe/ssd/ssd_config.py`. `DRAM_SSD` represents a composite DRAM + SSD
KV backend for KVZCH virtual tables and is required by the
`DRAM_SSD_VIRTUAL_TABLE` compute kernel, which references `BackendType.DRAM_SSD`.
- Add `DRAM_SSD = 3` to `BackendType`.
- Add `"dram_ssd"` mapping to `BackendType.from_str`.
Reviewed By: EddyLXJ
Differential Revision: D106733255
fbshipit-source-id: 9fb1a5f57e801f03ac97785245e9094b8a1b475a1 parent 10b7757 commit f5875de
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
126 | 137 | | |
127 | 138 | | |
128 | 139 | | |
| |||
0 commit comments