| 554 | } |
| 555 | |
| 556 | static std::string getChannelOrderString(cl_channel_order order) { |
| 557 | switch (order) { |
| 558 | CASE(CL_R); |
| 559 | CASE(CL_A); |
| 560 | CASE(CL_RG); |
| 561 | CASE(CL_RA); |
| 562 | CASE(CL_RGB); |
| 563 | CASE(CL_RGBA); |
| 564 | CASE(CL_BGRA); |
| 565 | CASE(CL_ARGB); |
| 566 | CASE(CL_INTENSITY); |
| 567 | CASE(CL_LUMINANCE); |
| 568 | CASE(CL_Rx); |
| 569 | CASE(CL_RGx); |
| 570 | CASE(CL_RGBx); |
| 571 | default: |
| 572 | return getHexString(order); |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | static std::string getChannelTypeString(cl_channel_type type) { |
| 577 | switch (type) { |
no test coverage detected