MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Memset

Method Memset

tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:552–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552port::Status GpuExecutor::Memset(Stream* stream, DeviceMemoryBase* location,
553 uint8 pattern, uint64 size) {
554 VLOG(2) << "enqueueing memset8 operation onto stream " << stream
555 << " at location " << location << " with size " << size
556 << " and pattern " << std::hex << pattern;
557 return GpuDriver::AsynchronousMemsetUint8(context_, AsROCmDevicePtr(location),
558 pattern, size,
559 AsGpuStreamValue(stream));
560}
561
562port::Status GpuExecutor::Memset32(Stream* stream, DeviceMemoryBase* location,
563 uint32 pattern, uint64 size) {

Callers

nothing calls this directly

Calls 2

AsROCmDevicePtrFunction · 0.85
AsGpuStreamValueFunction · 0.85

Tested by

no test coverage detected