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

Method DoBlasScal

tensorflow/stream_executor/rocm/rocm_blas.cc:708–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708bool ROCMBlas::DoBlasScal(Stream *stream, uint64 elem_count, float alpha,
709 DeviceMemory<float> *x, int incx) {
710 return DoBlasInternal(wrap::rocblas_sscal, stream,
711 true /* = pointer_mode_host */, elem_count, &alpha,
712 GpuMemoryMutable(x), incx);
713}
714
715bool ROCMBlas::DoBlasScal(Stream *stream, uint64 elem_count, double alpha,
716 DeviceMemory<double> *x, int incx) {

Callers

nothing calls this directly

Calls 1

GpuMemoryMutableFunction · 0.85

Tested by

no test coverage detected