| 461 | } |
| 462 | |
| 463 | BlockMHA::~BlockMHA() { |
| 464 | if (_device == Device::CPU) { |
| 465 | delete[] _key_cache; |
| 466 | delete[] _value_cache; |
| 467 | } |
| 468 | } |
| 469 | |
| 470 | double BlockMHA::active_bytes(size_t pos) const { |
| 471 | double bytes = Block::active_bytes(pos); |
nothing calls this directly
no outgoing calls
no test coverage detected