- Add hierarchy. Tests now live in directories, each with its own
CMakeFiles.txt. Reduces merge conflicts.
- Change make_hip_executable -> build_hip_executable.
- Refresh docs.
- Enable some tests that were previously built but not run.
Change-Id: I8c5de3c954400bf233904282b8b42861a2b7c536
[ROCm/clr commit: 3feb13c8f6]
SWDEV-95698 - Complib: set data layout string from the subtarget in codegen
This logic was broken since llvm 3.6 merge and datalayout was not set as supposed.
This results in a different compilation results with complib and llc.
In addition that leads to the suboptimal codegen.
Testing: smoke, precheckin, llc_opt, ocl_features, vec_ldst, ocl_sdk_aoc2_compare_main
Reviewed by Evgeny Mankov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/ocl/regression/95698/calcweight-nounroll-min.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_regression.tlst#37 edit
[ROCm/clr commit: 2300414425]
SWDEV-2 - Change OpenCL version number from 2147 to 2148.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1894 edit
[ROCm/clr commit: 90d81a61cc]
SWDEV-2 - Change OpenCL version number from 2146 to 2147.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1893 edit
[ROCm/clr commit: 32e6cea52f]
- Complete translation tables for cudaError <-> hipError_t.
- Remove some odd errors that were not correctly translated or not used.
- Add HIPCHECK_API to test infrastructure. Used for negative testing
an API ; if a mismatch occurs it shows the expected return error
code. Can also print a warning rather than error.
- Enable hipMemoryAllocate on NV system, and review error coded.
- Add hipErrorName to nvcc.
Change-Id: I680427dcf32a5796d5913cf9e7f3b4c6f6b91599
Conflicts:
tests/src/CMakeLists.txt
Bug fixes and improved docs for hipFree and hipHostFree.
- Passing NULL pointer initialized runtime and return hipSuccess
(not an error like before).
- add negative test for this. (hipMemoryAllocate, improved)
- Match NVCC errors for invalid pointers, add to test.
- Update hipFree and hipHostFree docs.
- hipGetDevicePointer always set *devicePointer=NULL, even for
invalid flags.
- Gate shared memory usage on specific HCC work-week.
Change-Id: I533b4fd3280a3d6cdbf05eb768976f0c7506c012
[ROCm/clr commit: 6a2a140f34]
SWDEV-2 - Change OpenCL version number from 2145 to 2146.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1892 edit
[ROCm/clr commit: ac02a393c2]
SWDEV-95917 - OpenCL on PAL - add device info query to get the number of aysnc queues
- Correct the number of normal compute queues
- Fix concurrency test workloads
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/perf/OCLPerfConcurrency.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/perf/OCLPerfConcurrency.h#5 edit
[ROCm/clr commit: c7522d11c4]
SWDEV-2 - Change OpenCL version number from 2144 to 2145.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1891 edit
[ROCm/clr commit: 5f184d7a8a]
SWDEV-79278 - [OpenCL][PAL][GFXIP9 Bring up] OCL GFXIP9 general development.Adding support for ASIC detection based on gfxLevel on PAL. For GFXIP9+, the Asic revision on PAL is Unknown and gfxLevel should be used for ASIC detection.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/10616/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#4 edit
[ROCm/clr commit: 2d5f1bc48d]
SWDEV-2 - Change OpenCL version number from 2143 to 2144.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1890 edit
[ROCm/clr commit: 0a6f25b703]
SWDEV-2 - Change OpenCL version number from 2142 to 2143.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1889 edit
[ROCm/clr commit: 01540fd78f]
SWDEV-2 - Change OpenCL version number from 2141 to 2142.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1888 edit
[ROCm/clr commit: e985f8ac99]
SWDEV-94189 - ORCA RT: do not use temp files
This is memfile implementation, an interface to plug into libelf and emulate files in memory w/o any IO.
If passed filename to open() is empty it will use in memory file, otherwise proxy it to the real file IO routine.
This allows RT not to use temp files. Next this interface will be plugged to the finalizer.
Testing: smoke, precheckin, conformance 2.0 reallyquick, test_compiler 1.2 with -legacy, test_compiler with -save-temps-all and -g -O0 -mem2reg=0
Reviewed by Evgeny Mankov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf_utils.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/_libelf_config.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/build/Makefile.libelf#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/elf_update.c#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/memfile.h#1 add
[ROCm/clr commit: 43e8a3bd3d]