test/gtest/test_kernel_dumper.cpp
std::string runKernelDumper(KernelDumper *kernelDumper, int numClmemArgs) {
    // assumes all args unique
    vector<int> clmemIndexByClmemArgIndex;
    for(int i = 0; i < numClmemArgs; i++) {
        clmemIndexByClmemArgIndex.push_back(i);
    }
    std::string cl = kernelDumper->toCl(numClmemArgs, clmemIndexByClmemArgIndex);
    return cl;
}
// this is a bit hacky, but fine-ish for now
this is a bit hacky, but fine-ish for now
this is a bit hacky but fine - ish for now
std::string runKernelDumper(KernelDumper *kernelDumper, int numClmemArgs) {
    vector<int> clmemIndexByClmemArgIndex;
    for(int i = 0; i < numClmemArgs; i++) {
        clmemIndexByClmemArgIndex.push_back(i);
    }
    std::string cl = kernelDumper->toCl(numClmemArgs, clmemIndexByClmemArgIndex);
    return cl;
}
std :: string runKernelDumper ( KernelDumper * kernelDumper , int numClmemArgs ) { vector < int > clmemIndexByClmemArgIndex ; for ( int i = 0 ; i < numClmemArgs ; i ++ ) { clmemIndexByClmemArgIndex . push_back ( i ) ; } std :: string cl = kernelDumper -> toCl ( numClmemArgs , clmemIndexByClmemArgIndex ) ; return cl ; }
this is a bit hacky, but fine-ish for now
this is a bit hacky but fine - ish for now
// assumes all args unique