File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/library/tools/OCLBinaryGenerator Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ int main(int argc, char *argv[])
233233
234234 // get the input path
235235 std::string inputPath = argv[1 ];
236- inputPath += " \\ " ;
236+ inputPath += " / " ;
237237 std::cout << " OCLBinaryGenerator input path is " << inputPath <<std::endl;
238238
239239 // get the input filename
@@ -243,7 +243,7 @@ int main(int argc, char *argv[])
243243
244244 // get the path to destination
245245 std::string outputPath = argv[3 ];
246- outputPath += " \\ " ;
246+ outputPath += " / " ;
247247 std::cout << " OCLBinaryGenerator output path is " << outputPath << std::endl;
248248
249249 // output filename
@@ -309,7 +309,7 @@ int main(int argc, char *argv[])
309309 size_t kernelBinarySize;
310310
311311
312- std::ifstream inputfile (inputPath+inputFilename);
312+ std::ifstream inputfile (( inputPath+inputFilename). c_str () );
313313 if (!inputfile.is_open ())
314314 {
315315 printf (" Input file does not exist. OCLBinaryGenerator aborted.\n " );
@@ -344,4 +344,4 @@ int main(int argc, char *argv[])
344344 // end writing file
345345 outputFile.close ();
346346 printf (" OCLBinaryGenerator finished.\n " );
347- }
347+ }
You can’t perform that action at this time.
0 commit comments