Граф коммитов

13474 Коммитов

Автор SHA1 Сообщение Дата
Yaxun Sam Liu 9002c7d09d Revert "Change code-object flag to only HIP-Clang"
This reverts commit 2a956540ee.
2019-02-28 11:20:04 -05:00
Yaxun Sam Liu 510590ac1d Revert "Consume the code obj args to prevent duplicates"
This reverts commit 3a57510fbb.
2019-02-28 11:19:35 -05:00
Jenkins 7dd189a091 Merge 'master' into 'amd-master'
Change-Id: Iba89017b25273c611bee5a15fa619c7ddf5ae0aa
2019-02-28 04:09:59 -06:00
Maneesh Gupta 4eff6bd09a Merge pull request #938 from gargrahul/fix_hipBusBW_p2p_bidir
Fix hipBusBW sample for P2P bidirectional test
2019-02-28 07:14:38 +05:30
Maneesh Gupta c1ff2c95a4 Merge pull request #937 from yxsamliu/nan2
Fix nan for windows
2019-02-28 07:14:27 +05:30
Maneesh Gupta c6b050b7f2 Merge pull request #935 from gargrahul/fix_hipbusbw_beatsoverflow
Fix hipBusBW overflow with setting beats/iterations
2019-02-28 07:14:16 +05:30
Maneesh Gupta 267b0b3a30 Merge pull request #934 from gargrahul/fix_forceinline_non_hcc
Fix forceinline for non HCC compilation
2019-02-28 07:14:05 +05:30
Rahul Garg 0156388a6b Update hipMemset test 2019-02-28 06:54:49 +05:30
Rahul Garg 828e62fe4f Fix hipBusBW sample for P2P bidirectional test 2019-02-28 00:56:07 +05:30
Yaxun Sam Liu 0ebe23512f Fix nan for windows 2019-02-27 12:33:26 -05:00
Maneesh Gupta 03adc12474 [hipcofig] Update HIP_PLATFORM detection logic
HIP_PLATFORM detection logic relied on finding a working KFD. If it was
found, the platform was set as hcc else as nvcc.
However this logic is flawed since it is possible for the development
system to only have the user mode bits to build HIP application code.
Hence the better logic is to rely on finding a suitable compiler.
The new logic is as follows:
- look for a working HCC. If found, platform is set as hcc.
- else look for a working NVCC. If found, platform is set as nvcc.
- else the platform defaults to hcc for now.

Change-Id: Ifcc42c29a19f722153d5c23c55f1a8765dceaf6b
2019-02-27 14:10:21 +05:30
foreman 8b6f0a2c01 P4 to Git Change 1749142 by chui@ocl-promo-incrementor on 2019/02/27 03:00:23
SWDEV-2 - Change OpenCL version number from 2842 to 2843.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2590 edit
2019-02-27 03:17:27 -05:00
Rahul Garg 4fef69afdc Fix hipBusBW overflow with setting beats/iterations 2019-02-27 00:18:52 +05:30
foreman 2732ad0300 P4 to Git Change 1748674 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/26 11:31:59
SWDEV-145570 - [HIP] Implemented texture object for ROCm backend
	Needed to implement sampler object and return the getHsaImageObject
	for roc::Image::cpuSrd.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#22 edit
2019-02-26 11:47:55 -05:00
foreman cf278cec27 P4 to Git Change 1748655 by wchau@wchau_OCL_boltzmann on 2019/02/26 10:50:47
SWDEV-180407 - Observed failure while running OCL 2.0 conformance API : min_max_device_version
	- revert CL1739455 to use OCL version 1.2 as default to avoid this issue for ROCm 2.2 release

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#117 edit
2019-02-26 11:22:30 -05:00
foreman 918f2e197a P4 to Git Change 1748484 by chui@ocl-promo-incrementor on 2019/02/26 03:00:23
SWDEV-2 - Change OpenCL version number from 2841 to 2842.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2589 edit
2019-02-26 03:08:31 -05:00
Rahul Garg 832142234b Fix forceinline for non HCC compilation 2019-02-26 07:50:09 +05:30
foreman b7200ec2ad P4 to Git Change 1748192 by jujiang@JJ-OCL-w8 on 2019/02/25 14:20:20
SWDEV-181012 - [CQE OCL][DTB-BLOCKER][QR][Windows][19.10] clinfo results in "clBuildProgram" error with OCL binaries. Faulty CL#1737731

	- Remove some dead code as suggested by Konstantin Zhuravlyov

	- These strings are no longer needed, loader will never ask about them

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#248 edit
2019-02-25 14:33:44 -05:00
foreman adef8ef154 P4 to Git Change 1748169 by gandryey@gera-w8 on 2019/02/25 13:36:28
SWDEV-180834 - [Forum] - Washed-Out Colors in Premiere Pro CC 2018 When 10bit Enabled
	- Add CL_RGBA 101010 support for GL interop in GSL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#157 edit
2019-02-25 14:00:09 -05:00
Wen-Heng (Jack) Chung 8c5a92a789 Add one test case for complex dynamic loading behavior
Existing HIT syntax doesn't seem to support the expected build and run steps
for this test.
2019-02-25 17:03:31 +00:00
Evgeny Mankov a4e3fa4f1b Merge pull request #930 from emankov/master
[HIPIFY][doc] Update README.md
2019-02-25 18:29:26 +03:00
Evgeny Mankov 52fdd6e3cc [HIPIFY][doc] Update README.md
+ Populate Dependencies section with upcoming LLVM versions
+ Add clang bugs for not working configs LLVM+CUDA
+ Update Testing section
2019-02-25 18:26:25 +03:00
Evgeny Mankov 2738db936a Merge pull request #928 from emankov/master
[HIPIFY][tests] caffe2 test fix
2019-02-25 17:39:06 +03:00
Evgeny Mankov 9c000f4b57 [HIPIFY][tests] caffe2 test fix 2019-02-25 17:12:32 +03:00
Evgeny Mankov b24cb99a12 Merge pull request #927 from emankov/master
[HIPIFY][Caffe2] Initial Caffe2 support
2019-02-25 16:41:17 +03:00
Evgeny Mankov 59533a7309 [HIPIFY][Caffe2] Initial Caffe2 support 2019-02-23 20:46:22 +03:00
foreman 0010e42ec9 P4 to Git Change 1747742 by chui@ocl-promo-incrementor on 2019/02/23 03:00:22
SWDEV-2 - Change OpenCL version number from 2840 to 2841.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2588 edit
2019-02-23 03:11:11 -05:00
foreman f48baa6741 P4 to Git Change 1747723 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/22 19:30:33
SWDEV-145570 - [HIP] Texture object implementation
	hipTextureObject2D test passes on PAL backend.
	Still needs to have sampler handled properly on ROCm backend.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#333 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#14 edit
2019-02-22 19:43:36 -05:00
foreman a0ba1c67c2 P4 to Git Change 1747723 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/22 19:30:33
SWDEV-145570 - [HIP] Texture object implementation
	hipTextureObject2D test passes on PAL backend.
	Still needs to have sampler handled properly on ROCm backend.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#333 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#14 edit
2019-02-22 19:43:36 -05:00
foreman 1c247a05f7 P4 to Git Change 1747574 by asalmanp@asalmanp-ocl-stg on 2019/02/22 14:37:28
SWDEV-132899 - disable gfx10+ in gsl
	Removing Navi10 and disable gfx10+ ASICs from gsl

	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16777/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#156 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#604 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#247 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#362 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#190 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#8 edit
2019-02-22 15:05:20 -05:00
foreman e776d5bca4 P4 to Git Change 1747265 by chui@ocl-promo-incrementor on 2019/02/22 03:00:22
SWDEV-2 - Change OpenCL version number from 2839 to 2840.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2587 edit
2019-02-22 03:59:57 -05:00
Maneesh Gupta f4e97f26bb Merge pull request #925 from yxsamliu/h2f
Add __gnu_h2f_ieee and __gnu_f2h_ieee
2019-02-22 13:38:15 +05:30
Maneesh Gupta 33d14dd7cb Merge pull request #923 from aaronenyeshi/fix-co-v3-arg
Consume the code obj args to prevent duplicates
2019-02-22 13:38:08 +05:30
foreman 8cdcb7edb5 P4 to Git Change 1746912 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/21 14:16:35
SWDEV-178453 - [HIP] Add extra parameter for sharedMemBytes

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#91 edit
2019-02-21 17:42:08 -05:00
foreman a343072c71 P4 to Git Change 1746912 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/21 14:16:35
SWDEV-178453 - [HIP] Add extra parameter for sharedMemBytes

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#91 edit
2019-02-21 17:42:08 -05:00
foreman 908dafa7b1 P4 to Git Change 1746757 by jujiang@JJ-OCL-w8 on 2019/02/21 10:38:37
SWDEV-179047 - [CQE OCL][DTB-BLOCKER][QR][Windows][19.10] clinfo results in "clBuildProgram" error with OCL binaries. Faulty CL#1737731
	-Tested on Picasso, PAL stack passed, ORCA stack has issue.
	-PAL gas xnack feature supported, but ORCA diesn't
	-Added xnack feature and tested, work fine on both Bristol and Picasso
	- this is a simple temporary fix, will implement a proper fix later in another ticket.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#155 edit
2019-02-21 13:56:14 -05:00
Yaxun Sam Liu 972ca06c4c Add __gnu_h2f_ieee and __gnu_f2h_ieee
The implementation is copied from HCC runtime.

For hcc it has no effect since apps can find them in either hcc runtime or HIP
runtime.

hip-clang needs it in HIP/HCC runtime so that HIP/HCC and HIP/VDI runtime are
swappable.
2019-02-21 12:48:28 -05:00
foreman 89750bfa0a P4 to Git Change 1746593 by chui@ocl-promo-incrementor on 2019/02/21 03:00:21
SWDEV-2 - Change OpenCL version number from 2838 to 2839.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2586 edit
2019-02-21 03:16:00 -05:00
foreman 7b958148e2 P4 to Git Change 1746163 by jujiang@JJ-OCL-w8 on 2019/02/20 11:17:07
SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack

	-Enable StablePstate feature in linux brahma stack

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#189 edit
2019-02-20 11:50:08 -05:00
Aaron Enye Shi 3a57510fbb Consume the code obj args to prevent duplicates 2019-02-19 17:02:27 +00:00
Jenkins f87ab48b48 Merge 'master' into 'amd-master'
Change-Id: I13b597d44e0f6261d6a35b9541da0bc3e81f581c
2019-02-18 10:34:42 -06:00
foreman a43ed30c25 P4 to Git Change 1744909 by chui@ocl-promo-incrementor on 2019/02/16 03:00:19
SWDEV-2 - Change OpenCL version number from 2837 to 2838.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2585 edit
2019-02-16 03:11:35 -05:00
foreman 986ca859ad P4 to Git Change 1744867 by asalmanp@asalmanp-ocl-stg on 2019/02/15 18:26:24
SWDEV-132899 - Adding support for Navi14/Navi12.
	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16708/diff/1/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#188 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#68 edit
2019-02-15 18:52:53 -05:00
foreman 5ab68dc87b P4 to Git Change 1744640 by wchau@wchau_OCL_boltzmann on 2019/02/15 11:28:47
SWDEV-176282 - FP16_MatrixTranspose is failing on NAVI10/VEGA10 PAL/LC path:wq
	- add COMGR logging support to show the build log

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#16 edit
2019-02-15 12:26:57 -05:00
Evgeny Mankov fb14d5ae9a Merge pull request #919 from emankov/master
[HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN
2019-02-15 15:06:28 +03:00
foreman b5fbe8c22d P4 to Git Change 1744422 by chui@ocl-promo-incrementor on 2019/02/15 03:00:19
SWDEV-2 - Change OpenCL version number from 2836 to 2837.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2584 edit
2019-02-15 05:22:11 -05:00
Jenkins 53fcf515f8 Merge 'master' into 'amd-master'
Change-Id: I4f744ea43f46f148c348d41d19252c191fc7019a
2019-02-15 04:09:55 -06:00
foreman 28fd6ede82 P4 to Git Change 1744206 by jujiang@JJ-OCL-w8 on 2019/02/14 19:35:05
SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack

	-Disable StablePstate feature in linux brahma stack

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#187 edit
2019-02-14 19:50:43 -05:00
foreman b7f0a4dd64 P4 to Git Change 1743786 by chui@ocl-promo-incrementor on 2019/02/14 03:00:18
SWDEV-2 - Change OpenCL version number from 2835 to 2836.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2583 edit
2019-02-14 04:48:52 -05:00
Maneesh Gupta ea223a7f1c Merge pull request #916 from mangupta/swdev-179677
Fix signature for unsigned long long variant of atomicExch
2019-02-14 12:46:32 +05:30