MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / clblasFillVector

Function clblasFillVector

src/library/blas/fill.cc:74–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73extern "C"
74clblasStatus clblasFillVector(
75 size_t nb_elem,
76 size_t element_size,
77 cl_mem A, size_t offA,
78 const void * host,
79 cl_command_queue command_queue,
80 cl_uint numEventsInWaitList,
81 const cl_event *eventWaitList)
82{
83 cl_event event ;
84 cl_int err = clblasFillVectorAsync(
85 nb_elem,
86 element_size,
87 A, offA,
88 host,
89 command_queue,
90 numEventsInWaitList, eventWaitList,
91 &event) ;
92
93 if (err == clblasSuccess) {
94 err = clWaitForEvents(1,&event) ;
95 }
96
97 return (clblasStatus) err ;
98}
99
100extern "C"
101clblasStatus clblasFillSubMatrixAsync(

Callers

nothing calls this directly

Calls 1

clblasFillVectorAsyncFunction · 0.85

Tested by

no test coverage detected