MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / SetClFilesPath

Method SetClFilesPath

C++/OpenCL.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71
72void COpenCL::SetClFilesPath(const char * Path)
73{
74 m_ClFilesPath = Path;
75 if (m_ClFilesPath[m_ClFilesPath.size() - 1] != '\\' &&
76 m_ClFilesPath[m_ClFilesPath.size() - 1] != '/')
77 {
78 // Missing trailing slash
79 m_ClFilesPath += "/";
80 }
81
82}
83
84const string& COpenCL::GetClFilePath()
85{

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected