mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Offliner compiler - refactor help
Change-Id: Ie9514ea3aedb208bc653f29fe96e4b71003807fd
This commit is contained in:

committed by
sys_ocldev

parent
0ad81024b7
commit
e746081403
@ -623,22 +623,24 @@ std::string getDevicesTypes() {
|
||||
void OfflineCompiler::printUsage() {
|
||||
|
||||
printf("Compiles CL files into llvm (.bc or .ll), gen isa (.gen), and binary files (.bin)\n\n");
|
||||
printf("cloc -file <filename> -device <device_type> [-out_dir <output_dir>]\n\n");
|
||||
printf("cloc -file <filename> -device <device_type> [OPTIONS]\n\n");
|
||||
printf(" -file <filename> Indicates the CL kernel file to be compiled.\n");
|
||||
printf(" -output <filename> Indicates output files core name.\n");
|
||||
printf(" -device <device_type> Indicates which device for which we will compile.\n");
|
||||
printf(" <device_type> can be: %s\n", getDevicesTypes().c_str());
|
||||
printf("\n");
|
||||
printf(" -output <filename> Indicates output files core name.\n");
|
||||
printf(" -out_dir <output_dir> Indicates the directory into which the compiled files\n");
|
||||
printf(" will be placed.\n");
|
||||
printf(" -cpp_file Cpp file with scheduler program binary will be generated.\n");
|
||||
printf("\n");
|
||||
printf(" -32 Force compile to 32-bit binary.\n");
|
||||
printf(" -64 Force compile to 64-bit binary.\n");
|
||||
printf(" -internal_options <options> Compiler internal options.\n");
|
||||
printf(" -llvm_text Readable LLVM text will be output in a .ll file instead of\n");
|
||||
printf(" through the default lllvm binary (.bc) file.\n");
|
||||
printf(" -llvm_input Indicates input file is llvm source\n");
|
||||
printf(" -cpp_file Cpp file with scheduler program binary will be generated.");
|
||||
printf(" -options <options> Compiler options.\n");
|
||||
printf(" -internal_options <options> Compiler internal options.\n");
|
||||
printf(" -options_name Add suffix with compile options to filename\n");
|
||||
printf(" -32 Force compile to 32-bit binary.\n");
|
||||
printf(" -64 Force compile to 64-bit binary.\n");
|
||||
printf(" -q Be more quiet. print only warnings and errors.\n");
|
||||
printf(" -? Print this usage message.\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user