![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
Functions | |
| template<typename = int> | |
| std::string | file_contents (const char *fileName) |
| template<typename StringType > | |
| auto | count_lines (StringType &src) |
| template<typename FileNameType , typename CountType , std::size_t N, typename StringType > | |
| auto | error_line_file_name (std::array< FileNameType, N > const &file_names, std::array< CountType, N > const &line_counts, StringType error_line_str) |
| template<typename CharType > | |
| std::basic_string< CharType > | replace_string (std::basic_string< CharType > target, std::basic_string< CharType > const &str_find, std::basic_string< CharType > const &str_replace) |
| template<typename FileNameType , typename CountType , std::size_t N, typename StringType > | |
| auto | parse_error_message (std::array< FileNameType, N > const &file_names, std::array< CountType, N > const &line_counts, StringType error_msg) |
| template<typename... OpenCLFiles> | |
| cl_program | CreateProgram (cl_context context, cl_device_id device, OpenCLFiles... opencl_files) |
| auto cpg::opencl_sycl::hidden::count_lines | ( | StringType & | src | ) |
| cl_program cpg::opencl_sycl::hidden::CreateProgram | ( | cl_context | context, |
| cl_device_id | device, | ||
| OpenCLFiles... | opencl_files | ||
| ) |
Definition at line 132 of file cpg_opencl_sycl.hpp.
| auto cpg::opencl_sycl::hidden::error_line_file_name | ( | std::array< FileNameType, N > const & | file_names, |
| std::array< CountType, N > const & | line_counts, | ||
| StringType | error_line_str | ||
| ) |
| std::string cpg::opencl_sycl::hidden::file_contents | ( | const char * | fileName | ) |
| auto cpg::opencl_sycl::hidden::parse_error_message | ( | std::array< FileNameType, N > const & | file_names, |
| std::array< CountType, N > const & | line_counts, | ||
| StringType | error_msg | ||
| ) |
Definition at line 105 of file cpg_opencl_sycl.hpp.
| std::basic_string< CharType > cpg::opencl_sycl::hidden::replace_string | ( | std::basic_string< CharType > | target, |
| std::basic_string< CharType > const & | str_find, | ||
| std::basic_string< CharType > const & | str_replace | ||
| ) |