| 507 | } |
| 508 | |
| 509 | static 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 | |
| 515 | bool Program::compileImpl(const std::string& sourceCode, |
| 516 | const std::vector<const std::string*>& headers, |
no test coverage detected