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

Method dotc

src/tests/clBLAS-wrapper.cpp:3025–3063  ·  view source on GitHub ↗

DOTC

Source from the content-addressed store, hash-verified

3023
3024//DOTC
3025clblasStatus
3026clMath::clblas::dotc(
3027 DataType type,
3028 size_t N,
3029 cl_mem dotProduct,
3030 size_t offDP,
3031 cl_mem X,
3032 size_t offx,
3033 int incx,
3034 cl_mem Y,
3035 size_t offy,
3036 int incy,
3037 cl_mem scratchBuff,
3038 cl_uint numCommandQueues,
3039 cl_command_queue *commandQueues,
3040 cl_uint numEventsInWaitList,
3041 const cl_event *eventWaitList,
3042 cl_event *events)
3043
3044 {
3045 switch(type){
3046
3047 case TYPE_COMPLEX_FLOAT:
3048 return clblasCdotc( N, dotProduct, offDP, X, offx, incx, Y,
3049 offy, incy, scratchBuff,
3050 numCommandQueues,commandQueues, numEventsInWaitList,
3051 eventWaitList, events);
3052
3053 case TYPE_COMPLEX_DOUBLE:
3054 return clblasZdotc( N, dotProduct, offDP, X, offx, incx, Y,
3055 offy, incy, scratchBuff,
3056 numCommandQueues,commandQueues, numEventsInWaitList,
3057 eventWaitList, events);
3058
3059 default:
3060 return clblasInvalidValue;
3061 }
3062
3063 }
3064
3065
3066

Callers

nothing calls this directly

Calls 2

clblasCdotcFunction · 0.85
clblasZdotcFunction · 0.85

Tested by

no test coverage detected