| 28 | namespace fl { |
| 29 | |
| 30 | cuda_function::cuda_function(const std::string_view function_name_, function_map_type&& functions_) : |
| 31 | device_function(function_name_), functions(std::move(functions_)) { |
| 32 | } |
| 33 | |
| 34 | typename cuda_function::function_map_type::const_iterator cuda_function::get_function(const device_queue& cqueue) const { |
| 35 | return functions.find((const cuda_device*)&cqueue.get_device()); |
nothing calls this directly
no outgoing calls
no test coverage detected