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[])
233
233
234
234
// get the input path
235
235
std::string inputPath = argv[1 ];
236
- inputPath += " \\ " ;
236
+ inputPath += " / " ;
237
237
std::cout << " OCLBinaryGenerator input path is " << inputPath <<std::endl;
238
238
239
239
// get the input filename
@@ -243,7 +243,7 @@ int main(int argc, char *argv[])
243
243
244
244
// get the path to destination
245
245
std::string outputPath = argv[3 ];
246
- outputPath += " \\ " ;
246
+ outputPath += " / " ;
247
247
std::cout << " OCLBinaryGenerator output path is " << outputPath << std::endl;
248
248
249
249
// output filename
@@ -309,7 +309,7 @@ int main(int argc, char *argv[])
309
309
size_t kernelBinarySize;
310
310
311
311
312
- std::ifstream inputfile (inputPath+inputFilename);
312
+ std::ifstream inputfile (( inputPath+inputFilename). c_str () );
313
313
if (!inputfile.is_open ())
314
314
{
315
315
printf (" Input file does not exist. OCLBinaryGenerator aborted.\n " );
@@ -344,4 +344,4 @@ int main(int argc, char *argv[])
344
344
// end writing file
345
345
outputFile.close ();
346
346
printf (" OCLBinaryGenerator finished.\n " );
347
- }
347
+ }
You can’t perform that action at this time.
0 commit comments