4f098e2a50
ECR #010005 - Update to HSAIL PRM 1.0p. [ opencl changes ] Changes by Oleg Semenov, Dmitry Preobrazhensky, Valery Pykhtin. Testing: full CQE on multiple ASICs, smoke, finalizer_features, regression, OCL conformance 1.2 (offline). Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILAsm/HSAILAsm.cpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILAsm/Makefile#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILAsm/build/Makefile#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILAsm/build/Makefile.hsailasm#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGen.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGen.vcxproj#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenBackend.cpp#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenBackend.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenBackendEml.h#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenBackendLua.h#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenBrigContext.cpp#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenBrigContext.h#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenContext.cpp#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenContext.h#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenDataProvider.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenDataProvider.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenDump.cpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenEmulator.cpp#14 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenEmulator.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenFilter.h#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenManager.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenNavigator.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenNavigator.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenProp.cpp#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenProp.h#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenProvider.h#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenSample.cpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenSample.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenTestData.h#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenTestDesc.cpp#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenTestDesc.h#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenUtilities.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenUtilities.h#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenVal.cpp#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/HSAILTestGenVal.h#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/Makefile#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/build/Makefile#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/HSAILTestGen/build/Makefile.hsailtestgen#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/Makefile#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/asmdefs#3 delete ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/asmlibs#2 delete ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/asmrules#2 delete ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/htdefs#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/htlibs#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/htrules#1 branch ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/BrigDwarfGenerator.cpp#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/BrigDwarfGenerator.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/Makefile#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/SectionHeaderTable.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/build/Makefile#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/build/Makefile.libbrigdwarf#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/hsa_dwarf.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libBRIGdwarf.sln#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libBRIGdwarf.vcxproj#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libbrigdwarfdefs#2 delete ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/Makefile#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/build/Makefile#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/build/Makefile.libdwarf#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/libdwarf.vcxproj#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/libdwarfdefs#2 delete ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/CHANGES#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/CODINGSTYLE#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/COPYING#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/ChangeLog#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/ChangeLog2006#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/ChangeLog2007#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/ChangeLog2008#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/ChangeLog2009#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/ChangeLog2010#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/LGPL.txt#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/LIBDWARFCOPYRIGHT#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/NEWS#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/README#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/cmplrs/dwarf_addr_finder.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/common.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/common.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/config.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_abbrev.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_abbrev.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_addr_finder.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_alloc.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_alloc.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_arange.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_arange.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_base_types.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_die_deliv.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_die_deliv.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_elf_access.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_elf_access.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_error.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_error.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_form.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_frame.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_frame.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_frame2.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_frame3.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_funcs.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_funcs.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_global.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_global.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_harmless.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_harmless.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_incl.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_init_finish.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_leb.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_line.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_line.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_line2.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_loc.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_loc.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_macro.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_macro.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_names.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_names.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_names_enum.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_names_new.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_opaque.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_original_elf_init.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_print_lines.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_pubtypes.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_query.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_ranges.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_sort_line.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_string.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_stubs.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_types.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_types.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_util.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_util.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_vars.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_vars.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_weaks.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/dwarf_weaks.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/libdwarf.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/libdwarfdefs.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/malloc_check.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/malloc_check.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_alloc.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_alloc.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_arange.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_arange.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_die.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_die.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_encode_nm.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_encode_nm.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_error.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_error.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_expr.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_expr.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_finish.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_forms.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_frame.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_frame.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_funcs.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_incl.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_init.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_line.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_line.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_macinfo.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_macinfo.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_opaque.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_pubnames.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_reloc.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_reloc.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_reloc_stream.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_reloc_stream.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_reloc_symbolic.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_reloc_symbolic.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_section.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_section.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_types.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_types.h#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_util.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_vars.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libdwarf/src/pro_weaks.c#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libelf/libelf.vcxproj#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libBRIGdwarf/libelf/libelf.vcxproj.filters#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/Android.mk#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/Brig.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/Brig_new.hpp#10 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HDLProcessor.pl#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILBrigContainer.cpp#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILBrigContainer.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILBrigInstr.hdl#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILBrigObjectFile.cpp#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILBrigObjectFile.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILBrigantine.cpp#9 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILBrigantine.h#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILConvertors.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILDisassembler.cpp#10 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILDisassembler.h#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILDump.cpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILDump.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILFloats.cpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILFloats.h#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILInstProps.h#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILItemBase.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILItems.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILItems.h#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILParser.cpp#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILParser.h#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILSRef.h#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILScanner.cpp#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILScanner.h#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILScannerRules.cpp#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILScannerRules.re2c#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILScope.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILTypeUtilities.h#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILUtilities.cpp#9 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILUtilities.h#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILValidator.cpp#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILValidator.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILValidatorBase.cpp#9 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILValidatorBase.h#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/HSAILb128_t.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/Makefile#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/build/Makefile#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/build/Makefile.libhsail#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/doxy.cfg#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/generate.pl#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/generate.targets#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/hsail_c.cpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/hsail_c.h#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/libHSAIL/libHSAIL.vcxproj#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/hsail-tools/mkmk.pl#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/brig_loader.cpp#12 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#29 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.hpp#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Interface/SCCommon.h#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Interface/SCHSAInterface.cpp#2 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Interface/SCInterface.h#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/CompilerExternal.cpp#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/Dev/dev.cpp#14 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/BrigDev.cpp#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/BrigDev.hpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/BrigIR.hpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILArithmetic.cpp#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILCodeGen.cpp#10 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILConversions.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILFinalizer.cpp#19 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILFinalizer.hpp#13 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILFunctions.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILGCN.cpp#4 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILImages.cpp#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILMemory.cpp#10 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSAILSpecial.cpp#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSASymbol.cpp#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc-hsa/Src/hsail-fin/HSASymbol.hpp#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Interface/SCCommon.h#37 edit ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/sc/Interface/SCInterface.h#12 edit ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scCompileSI.cpp#42 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scCompileSI.h#16 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/build/Makefile.scwrapper#25 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scCompileBase.cpp#37 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scCompileBase.h#21 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_9/aclTypes.h#6 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#49 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifinternal.hpp#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/bif_section_labels.hpp#17 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#63 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.h#27 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILControlFlow.td#5 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#21 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#52 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILImages.td#7 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILIntrinsics.td#33 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.cpp#21 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.h#8 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILSpecial.td#12 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILUtilityFunctions.cpp#27 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILUtilityFunctions.h#18 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/Scalar/AMDLowerAtomics.cpp#12 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/utils/TableGen/AMDBRIGLoweringEmitter.cpp#3 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/utils/TableGen/AMDDAGWalker.cpp#15 integrate ... //depot/stg/opencl/drivers/opencl/compiler/llvm/utils/TableGen/AMDDAGWalker.h#12 integrate ... //depot/stg/opencl/drivers/opencl/compiler/loader/libloader/loader.cpp#11 integrate ... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#56 integrate ... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/image/get.cl#8 integrate ... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/src/misc/atomicWorkItemFence.cl#5 integrate ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#171 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaprogram.cpp#36 integrate ... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.cpp#5 integrate ... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#35 integrate
154 líneas
6.0 KiB
C++
154 líneas
6.0 KiB
C++
//
|
|
// Copyright (c) 2012 Advanced Micro Devices, Inc. All rights reserved.
|
|
//
|
|
#ifndef _CL_UTILS_BIF_SECTION_LABELS_HPP_
|
|
#define _CL_UTILS_BIF_SECTION_LABELS_HPP_
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define PRE 0
|
|
#define POST 1
|
|
|
|
typedef enum {
|
|
symOpenclCompilerOptions,
|
|
symAMDILCompilerOptions,
|
|
symHSACompilerOptions,
|
|
symOpenclLinkerOptions,
|
|
symOpenclMeta,
|
|
symOpenclKernel,
|
|
symOpenclStub,
|
|
symOpenclGlobal,
|
|
symISAMeta,
|
|
symISABinary,
|
|
symAMDILText,
|
|
symAMDILBinary,
|
|
symHSAILText,
|
|
symHSABinary,
|
|
symAMDILFMeta,
|
|
symISAText,
|
|
symBRIGOperands,
|
|
symBRIGxxxx,
|
|
symBRIGStrtab,
|
|
symX86Barrier,
|
|
symAMDILHeader,
|
|
symDebugInfo,
|
|
symDebugilText,
|
|
symDebugilBinary,
|
|
symAsmText,
|
|
symDLL,
|
|
symLast
|
|
} oclBIFSymbolID;
|
|
|
|
struct oclBIFSymbolStruct {
|
|
oclBIFSymbolID id;
|
|
// pre/post fix of the symbol string
|
|
const char* str[2];
|
|
// the BIF section that the symbol is stored for GPU/CPU
|
|
aclSections sections[2];
|
|
};
|
|
|
|
// These are the symbols that are defined by the BIF 3.0 spec
|
|
static const oclBIFSymbolStruct BIF30[26] =
|
|
{
|
|
// 0: BIF 3.0 compiler options, .comment section via library support.
|
|
{symOpenclCompilerOptions,
|
|
{ "__OpenCL_", "compiler_options" }, {aclCOMMENT, aclCOMMENT}},
|
|
// 1: BIF 3.0 AMDIL compile options, .comment section via -fbin-amdil.
|
|
{symAMDILCompilerOptions,
|
|
{ "__AMDIL_", "_compiler_options" }, {aclCOMMENT, aclLAST}},
|
|
// 2: BIF 3.0 HSAIL compile options, .comment section via -fbin-hsail.
|
|
{symHSACompilerOptions,
|
|
{ "__HSAIL_", "_compiler_options" }, {aclCOMMENT, aclLAST}},
|
|
// 3: BIF 3.0 linker options, .comment section via library support.
|
|
{symOpenclLinkerOptions,
|
|
{ "__OpenCL_", "linker_options" }, {aclCOMMENT, aclCOMMENT}},
|
|
// 4: BIF 3.0 per kernel metadata, .cg section via -fbin-cg for CPU,
|
|
// .rodata section via -fbin-exe for GPU
|
|
{symOpenclMeta, { "__OpenCL_", "_metadata" }, {aclRODATA, aclCODEGEN}},
|
|
// 5: BIF 3.0 per kernel text(x86 only), .cg section via -fbin-cg.
|
|
{symOpenclKernel, { "__OpenCL_", "_kernel" }, {aclLAST, aclCODEGEN}},
|
|
// 6: BIF 3.0 per kernel stub(x86 only), .cg section via -fbin-cg.
|
|
{symOpenclStub, { "__OpenCL_", "_stub" }, {aclLAST, aclCODEGEN}},
|
|
// 7: BIF 3.0 per constant buffer data, .rodata section via -fbin-exe.
|
|
{symOpenclGlobal, { "__OpenCL_", "_global" }, {aclRODATA, aclRODATA}},
|
|
// 8: BIF 3.0 per kernel ISA metadata, .rodata section via -fbin-exe.
|
|
{symISAMeta, { "__ISA_", "_metadata" }, {aclRODATA, aclLAST}},
|
|
// 9: BIF 3.0 per kernel ISA, .text section via -fbin-exe.
|
|
{symISABinary, { "__ISA_", "_binary" }, {aclTEXT, aclLAST}},
|
|
// 10: BIF 3.0 per kernel AMDIL source, .internal section via -fbin-amdil.
|
|
{symAMDILText, { "__AMDIL_", "_text" }, {aclINTERNAL, aclLAST}},
|
|
// 11: BIF 3.0 per kernel AMDIL binary, .internal section via -fbin-amdil.
|
|
{symAMDILBinary, { "__AMDIL_", "_binary" }, {aclINTERNAL, aclLAST}},
|
|
// 12: BIF 3.0 per kernel HSAIL source, .internal section via -fbin-hsail.
|
|
{symHSAILText, { "__HSAIL_", "_text" }, {aclCODEGEN, aclLAST}},
|
|
// 13: BIF 3.0 per kernel HSAIL binary, .internal section via -fbin-hsail.
|
|
{symHSABinary, { "__BRIG__code", "" }, {aclBRIGcode, aclLAST}},
|
|
// 14: BIF 3.0 per function metadata, .internal section via -fbin-amdil.
|
|
{symAMDILFMeta, { "__AMDIL_", "_fmetadata" }, {aclINTERNAL, aclLAST}},
|
|
// 15: BIF 3.0 per kernel ISA text, .internal section via disassembly.
|
|
{symISAText, { "__ISA_", "_text" }, {aclINTERNAL, aclLAST}},
|
|
// 16: BIF 3.0 BRIG operands declarations, .brig section via -fbin-brig.
|
|
{symBRIGOperands, { "__BRIG__operands","" }, {aclBRIGoprs, aclLAST}},
|
|
// 17: Unused after changes in HSAIL PRM
|
|
{symBRIGxxxx, { "","" }, {aclLAST, aclLAST}},
|
|
// 18: BIF 3.0 BRIG strtab declarations, .brig section via -fbin-brig.
|
|
{symBRIGStrtab, { "__BRIG__strtab","" }, {aclBRIGstrs, aclLAST}},
|
|
// 19: BIF 3.0 per kernel barrier metadata, only valid for X86.
|
|
{symX86Barrier, { "__X86_", "_barrier" }, {aclLAST, aclLAST}},
|
|
// 20: BIF 3.0 per kernel header, .internal section via -fbin-amdil.(Legacy from bif2.x)
|
|
{symAMDILHeader, { "__AMDIL_", "_header"}, {aclINTERNAL, aclLAST}},
|
|
// 21: BIF 3.0 HSA BRIG or ISA debug info
|
|
{symDebugInfo, { "__debug_brig__","__debug_isa__"}, {aclHSADEBUG, aclLAST}},
|
|
// 22: BIF 3.0 debugil text, .internal section via -g
|
|
{symDebugilText, { "__debugil_text", "" }, {aclINTERNAL, aclLAST}},
|
|
// 23: BIF 3.0 debugil binary, .internal section, can be converted from
|
|
// __debugil_text
|
|
{symDebugilBinary, { "__debugil_binary", "" }, {aclINTERNAL, aclLAST}},
|
|
{symAsmText, {"", ""}, {aclLAST, aclCODEGEN}},
|
|
{symDLL, {"", ""}, {aclLAST, aclTEXT}},
|
|
}; // BIF30
|
|
|
|
|
|
// These are the sections that are defined by the BIF 2.0 spec
|
|
static const oclBIFSymbolStruct BIF20[13] =
|
|
{
|
|
{symOpenclCompilerOptions,
|
|
{ "__OpenCL_compile_options", "" }, {aclCOMMENT, aclCOMMENT}},
|
|
{symOpenclLinkerOptions,
|
|
{ "__OpenCL_linker_options", "" }, {aclCOMMENT, aclCOMMENT}},
|
|
{symOpenclKernel, { "__OpenCL_", "_kernel" }, {aclLAST, aclDLL}},
|
|
{symISABinary, { "__OpenCL_", "_kernel" }, {aclCAL, aclLAST}},
|
|
{symOpenclMeta, { "__OpenCL_", "_metadata" }, {aclRODATA, aclDLL}},
|
|
{symAMDILHeader, { "__OpenCL_", "_header" }, {aclRODATA, aclLAST}},
|
|
{symOpenclGlobal, { "__OpenCL_", "_global" }, {aclRODATA, aclLAST}},
|
|
{symAMDILText, { "__OpenCL_", "_amdil" }, {aclILTEXT, aclLAST}},
|
|
{symAMDILFMeta, { "__OpenCL_", "_fmetadata" }, {aclRODATA, aclLAST}},
|
|
{symOpenclStub, { "__OpenCL_", "_stub" }, {aclLAST, aclDLL}},
|
|
{symDebugilText, {"", ""}, {aclILDEBUG, aclLAST}},
|
|
{symAsmText, {"", ""}, {aclLAST, aclASTEXT}},
|
|
{symDLL, {"", ""}, {aclLAST, aclDLL}},
|
|
}; // BIF20
|
|
|
|
|
|
inline const oclBIFSymbolStruct* findBIFSymbolStruct(
|
|
const oclBIFSymbolStruct* symbols, size_t nSymbols, oclBIFSymbolID id)
|
|
{
|
|
for (size_t i = 0; i < nSymbols; ++i) {
|
|
if (id == symbols[i].id) {
|
|
return &symbols[i];
|
|
}
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
inline const oclBIFSymbolStruct* findBIF30SymStruct(oclBIFSymbolID id)
|
|
{
|
|
size_t nBIF30Symbol = sizeof(BIF30)/sizeof(oclBIFSymbolStruct);
|
|
return findBIFSymbolStruct(BIF30, nBIF30Symbol, id);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif // _CL_UTILS_BIF_SECTION_LABELS_HPP_
|