static */
| 492 | } |
| 493 | |
| 494 | /* static */ port::Status GpuDriver::SynchronousMemsetUint8( |
| 495 | GpuContext* context, hipDeviceptr_t location, uint8 value, size_t size) { |
| 496 | ScopedActivateContext activation{context}; |
| 497 | hipError_t res = tensorflow::wrap::hipMemsetD8(location, value, size); |
| 498 | if (res != hipSuccess) { |
| 499 | return port::InternalError( |
| 500 | absl::StrCat("failed to memset memory: ", ToString(res))); |
| 501 | } |
| 502 | return port::Status::OK(); |
| 503 | } |
| 504 | |
| 505 | /* static */ port::Status GpuDriver::SynchronousMemsetUint32( |
| 506 | GpuContext* context, hipDeviceptr_t location, uint32 value, |
nothing calls this directly
no test coverage detected