| 235 | } |
| 236 | |
| 237 | clMath::Step* getStep(ListNode *node) |
| 238 | { |
| 239 | switch (clMath::Step::getStepNodeFuncID(node)) { |
| 240 | case CLBLAS_GEMV: |
| 241 | return new clMath::GemvStep(node); |
| 242 | case CLBLAS_SYMV: |
| 243 | return new clMath::SymvStep(node); |
| 244 | case CLBLAS_GEMM: |
| 245 | return new clMath::GemmStep(node); |
| 246 | case CLBLAS_TRMM: |
| 247 | return new clMath::TrmmStep(node); |
| 248 | case CLBLAS_TRSM: |
| 249 | return new clMath::TrsmStep(node); |
| 250 | case CLBLAS_SYRK: |
| 251 | return new clMath::SyrkStep(node); |
| 252 | case CLBLAS_SYR2K: |
| 253 | return new clMath::Syr2kStep(node); |
| 254 | default: |
| 255 | return NULL; |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | |
| 260 | cl_platform_id |