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

Function getOCLOptionsHash

rocclr/device/devprogram.cpp:509–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509static std::size_t getOCLOptionsHash(const amd::option::Options& options) {
510 std::string opts;
511 for (const std::string& S : options.clangOptions) opts.append(S);
512 return std::hash<std::string>()(opts);
513}
514
515bool Program::compileImpl(const std::string& sourceCode,
516 const std::vector<const std::string*>& headers,

Callers 2

compileImplMethod · 0.85
trySubstObjFileMethod · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected