MCPcopy Create free account
hub / github.com/ROCm/clr / getAddressingModeString

Function getAddressingModeString

opencl/tools/cltrace/cltrace.cpp:637–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635
636
637static 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
649std::string getFilterModeString(cl_filter_mode mode) {
650 switch (mode) {

Calls 1

getHexStringFunction · 0.85

Tested by

no test coverage detected