MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Kernel_impl

Method Kernel_impl

deps/GraphBLAS/CUDA/jitify.hpp:3362–3376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3360}
3361
3362Kernel_impl::Kernel_impl(Program_impl const& program, std::string name,
3363 jitify::detail::vector<std::string> options)
3364 : _program(program), _name(name), _options(options) {
3365 // Merge options from parent
3366 _options.insert(_options.end(), _program.options().begin(),
3367 _program.options().end());
3368 detail::detect_and_add_cuda_arch(_options);
3369 detail::detect_and_add_cxx11_flag(_options);
3370 std::string options_string = reflection::reflect_list(_options);
3371 using detail::hash_combine;
3372 using detail::hash_larson64;
3373 _hash = _program._hash;
3374 _hash = hash_combine(_hash, hash_larson64(_name.c_str()));
3375 _hash = hash_combine(_hash, hash_larson64(options_string.c_str()));
3376}
3377
3378Program_impl::Program_impl(JitCache_impl& cache, std::string source,
3379 jitify::detail::vector<std::string> headers,

Callers

nothing calls this directly

Calls 7

detect_and_add_cuda_archFunction · 0.85
reflect_listFunction · 0.85
hash_combineFunction · 0.85
hash_larson64Function · 0.85
endMethod · 0.80
beginMethod · 0.80

Tested by

no test coverage detected