P4 to Git Change 1322829 by asalmanp@asalmanp-opencl-stg on 2016/10/05 13:35:20

SWDEV-79278 - Expose Lexa as "gfx804" and Vega10 as "gfx900" in mainline.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/11515/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#35 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#34 edit


[ROCm/clr commit: 926e59ce0b]
This commit is contained in:
foreman
2016-10-05 13:47:07 -04:00
parent f9f4623c98
commit 4f71027ade
8 changed files with 16 additions and 17 deletions
@@ -582,7 +582,7 @@ amdcl::OCLLinker::link(llvm::Module* input, std::vector<std::unique_ptr<llvm::Mo
|| chip == "Tahiti"
|| chip == "Hawaii"
|| chip == "Carrizo"
|| chip == "Rabbit");
|| chip == "gfx900");
setISAVersion(getIsaType(aclutGetTargetInfo(Elf())));
LLVMBinary()->getContext().setAMDLLVMContextHook(&hookup_);