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

Function getFilterModeString

opencl/tools/cltrace/cltrace.cpp:649–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649std::string getFilterModeString(cl_filter_mode mode) {
650 switch (mode) {
651 CASE(CL_FILTER_NEAREST);
652 CASE(CL_FILTER_LINEAR);
653 default:
654 return getHexString(mode);
655 }
656}
657
658static std::string getSamplerInfoString(cl_sampler_info param_name) {
659 switch (param_name) {

Calls 1

getHexStringFunction · 0.85

Tested by

no test coverage detected