MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CTS / concat_kernel

Function concat_kernel

test_common/harness/stringHelpers.h:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include <string>
23
24inline std::string concat_kernel(const char *sstr[], int num)
25{
26 std::string res;
27 for (int i = 0; i < num; i++) res += std::string(sstr[i]);
28 return res;
29}
30
31template <typename... Args>
32inline std::string str_sprintf(const std::string &str, Args... args)

Callers 10

test_equiv_kernelMethod · 0.85
create_global_load_codeFunction · 0.85
create_local_load_codeFunction · 0.85
create_private_load_codeFunction · 0.85
create_global_store_codeFunction · 0.85
create_local_store_codeFunction · 0.85
test_astype_setFunction · 0.85
makePrintfProgramFunction · 0.85

Calls

no outgoing calls

Tested by 10

test_equiv_kernelMethod · 0.68
create_global_load_codeFunction · 0.68
create_local_load_codeFunction · 0.68
create_private_load_codeFunction · 0.68
create_global_store_codeFunction · 0.68
create_local_store_codeFunction · 0.68
test_astype_setFunction · 0.68
makePrintfProgramFunction · 0.68