| 635 | |
| 636 | |
| 637 | static std::string getAddressingModeString(cl_addressing_mode mode) { |
| 638 | switch (mode) { |
| 639 | CASE(CL_ADDRESS_NONE); |
| 640 | CASE(CL_ADDRESS_CLAMP_TO_EDGE); |
| 641 | CASE(CL_ADDRESS_CLAMP); |
| 642 | CASE(CL_ADDRESS_REPEAT); |
| 643 | CASE(CL_ADDRESS_MIRRORED_REPEAT); |
| 644 | default: |
| 645 | return getHexString(mode); |
| 646 | } |
| 647 | } |
| 648 | |
| 649 | std::string getFilterModeString(cl_filter_mode mode) { |
| 650 | switch (mode) { |
no test coverage detected