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

Method Step

src/library/tools/ktest/step.cpp:62–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60} StepKarg;
61
62Step::Step(
63 BlasFunctionID funcID,
64 cl_device_id device) :
65 naiveCall_(""), compareCall_(""), postRandomCall_(""), kernelName_("")
66{
67 memset(&step_, 0, sizeof(step_));
68 memset(&kextra_, 0, sizeof(kextra_));
69
70 step_.funcID = funcID;
71 step_.device.id = device;
72 identifyDevice(&step_.device);
73 step_.args.A = (cl_mem)BUFFER_A;
74 step_.args.B = (cl_mem)BUFFER_B;
75 step_.args.C = (cl_mem)BUFFER_C;
76 if (blasFunctionID() == CLBLAS_SYR2K) {
77 kextra_.flags = static_cast<KernelExtraFlags>
78 (kextra_.flags | KEXTRA_SYRK_2K_RANK);
79 step_.extraFlags = kextra_.flags;
80 }
81}
82
83Step::Step(ListNode *node) :
84 naiveCall_(""), compareCall_(""), postRandomCall_(""), kernelName_("")

Callers

nothing calls this directly

Calls 1

identifyDeviceFunction · 0.85

Tested by

no test coverage detected