Commit Graph

12314 Commits

Author SHA1 Message Date
Maneesh Gupta ec494ba628 [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


[ROCm/clr commit: 03adc12474]
2019-02-27 14:10:21 +05:30
foreman ec88761cef 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


[ROCm/clr commit: 8b6f0a2c01]
2019-02-27 03:17:27 -05:00
Rahul Garg a835072903 Fix hipBusBW overflow with setting beats/iterations
[ROCm/clr commit: 4fef69afdc]
2019-02-27 00:18:52 +05:30
foreman 1d0572dd0f 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


[ROCm/clr commit: 2732ad0300]
2019-02-26 11:47:55 -05:00
foreman 5aab4688e9 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


[ROCm/clr commit: cf278cec27]
2019-02-26 11:22:30 -05:00
foreman eba54dbae1 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


[ROCm/clr commit: 918f2e197a]
2019-02-26 03:08:31 -05:00
Rahul Garg 1c95abbb18 Fix forceinline for non HCC compilation
[ROCm/clr commit: 832142234b]
2019-02-26 07:50:09 +05:30
foreman 4195de8bb4 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


[ROCm/clr commit: b7200ec2ad]
2019-02-25 14:33:44 -05:00
foreman 596dd852c7 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


[ROCm/clr commit: adef8ef154]
2019-02-25 14:00:09 -05:00
Wen-Heng (Jack) Chung 3faa98b08d 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.


[ROCm/clr commit: 8c5a92a789]
2019-02-25 17:03:31 +00:00
Evgeny Mankov 089cb31bff Merge pull request #930 from emankov/master
[HIPIFY][doc] Update README.md

[ROCm/clr commit: a4e3fa4f1b]
2019-02-25 18:29:26 +03:00
Evgeny Mankov 123d3e3dd8 [HIPIFY][doc] Update README.md
+ Populate Dependencies section with upcoming LLVM versions
+ Add clang bugs for not working configs LLVM+CUDA
+ Update Testing section


[ROCm/clr commit: 52fdd6e3cc]
2019-02-25 18:26:25 +03:00
Evgeny Mankov 063175cfa4 Merge pull request #928 from emankov/master
[HIPIFY][tests] caffe2 test fix

[ROCm/clr commit: 2738db936a]
2019-02-25 17:39:06 +03:00
Evgeny Mankov 7d96cc8b63 [HIPIFY][tests] caffe2 test fix
[ROCm/clr commit: 9c000f4b57]
2019-02-25 17:12:32 +03:00
Evgeny Mankov a163e01be3 Merge pull request #927 from emankov/master
[HIPIFY][Caffe2] Initial Caffe2 support

[ROCm/clr commit: b24cb99a12]
2019-02-25 16:41:17 +03:00
Evgeny Mankov e42eda2744 [HIPIFY][Caffe2] Initial Caffe2 support
[ROCm/clr commit: 59533a7309]
2019-02-23 20:46:22 +03:00
foreman 6eddc33a71 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


[ROCm/clr commit: 0010e42ec9]
2019-02-23 03:11:11 -05:00
foreman 3d1f153ff4 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


[ROCm/clr commit: f48baa6741]
2019-02-22 19:43:36 -05:00
foreman 206e531c60 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


[ROCm/clr commit: a0ba1c67c2]
2019-02-22 19:43:36 -05:00
foreman a5e9e3964d 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


[ROCm/clr commit: 1c247a05f7]
2019-02-22 15:05:20 -05:00
foreman 6405ef7119 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


[ROCm/clr commit: e776d5bca4]
2019-02-22 03:59:57 -05:00
Maneesh Gupta e6a5d8c9ea Merge pull request #925 from yxsamliu/h2f
Add __gnu_h2f_ieee and __gnu_f2h_ieee

[ROCm/clr commit: f4e97f26bb]
2019-02-22 13:38:15 +05:30
Maneesh Gupta e24b0f1924 Merge pull request #923 from aaronenyeshi/fix-co-v3-arg
Consume the code obj args to prevent duplicates

[ROCm/clr commit: 33d14dd7cb]
2019-02-22 13:38:08 +05:30
foreman c23f5b6727 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


[ROCm/clr commit: 8cdcb7edb5]
2019-02-21 17:42:08 -05:00
foreman d9bdadb673 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


[ROCm/clr commit: a343072c71]
2019-02-21 17:42:08 -05:00
foreman 10520b6487 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


[ROCm/clr commit: 908dafa7b1]
2019-02-21 13:56:14 -05:00
Yaxun Sam Liu ed6efc2c0b 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.


[ROCm/clr commit: 972ca06c4c]
2019-02-21 12:48:28 -05:00
foreman 414134f4f7 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


[ROCm/clr commit: 89750bfa0a]
2019-02-21 03:16:00 -05:00
foreman fcb210f587 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


[ROCm/clr commit: 7b958148e2]
2019-02-20 11:50:08 -05:00
Aaron Enye Shi 0e1fc751ea Consume the code obj args to prevent duplicates
[ROCm/clr commit: 3a57510fbb]
2019-02-19 17:02:27 +00:00
Jenkins cb7d56b91d Merge 'master' into 'amd-master'
Change-Id: I13b597d44e0f6261d6a35b9541da0bc3e81f581c


[ROCm/clr commit: f87ab48b48]
2019-02-18 10:34:42 -06:00
foreman 068008bd1f 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


[ROCm/clr commit: a43ed30c25]
2019-02-16 03:11:35 -05:00
foreman 6927d38923 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


[ROCm/clr commit: 986ca859ad]
2019-02-15 18:52:53 -05:00
foreman 42b57b51ab 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


[ROCm/clr commit: 5ab68dc87b]
2019-02-15 12:26:57 -05:00
Evgeny Mankov 4d417bfe2e Merge pull request #919 from emankov/master
[HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN

[ROCm/clr commit: fb14d5ae9a]
2019-02-15 15:06:28 +03:00
foreman d7ca8a200d 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


[ROCm/clr commit: b5fbe8c22d]
2019-02-15 05:22:11 -05:00
Jenkins 3997301c53 Merge 'master' into 'amd-master'
Change-Id: I4f744ea43f46f148c348d41d19252c191fc7019a


[ROCm/clr commit: 53fcf515f8]
2019-02-15 04:09:55 -06:00
foreman d847aacfcb 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


[ROCm/clr commit: 28fd6ede82]
2019-02-14 19:50:43 -05:00
foreman d290c38552 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


[ROCm/clr commit: b7f0a4dd64]
2019-02-14 04:48:52 -05:00
Maneesh Gupta d4ec49aa33 Merge pull request #916 from mangupta/swdev-179677
Fix signature for unsigned long long variant of atomicExch

[ROCm/clr commit: ea223a7f1c]
2019-02-14 12:46:32 +05:30
Evgeny Mankov 656baeebe3 [HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN
+ CUDNN_API_supported_by_HIP.md update
+ CUDA_Runtime_API_functions_supported_by_HIP.md update
+ libraryPropertyType_t is moved to Runtime
+ test update


[ROCm/clr commit: b22c0de428]
2019-02-13 19:40:59 +03:00
Maneesh Gupta b5917a9519 Merge pull request #918 from ROCm-Developer-Tools/ci_updates
[ci] Switch tests in CI infrastructure to cuda-10.x

[ROCm/clr commit: 5c4d324c4a]
2019-02-13 14:05:23 +05:30
Maneesh Gupta 15c0354b02 Merge pull request #917 from mangupta/fix_hip_lib_path
Initialize HIP_LIB_PATH on hcc path

[ROCm/clr commit: bd9a8a7f81]
2019-02-13 14:05:13 +05:30
foreman f8a5aa7e5d P4 to Git Change 1743168 by chui@ocl-promo-incrementor on 2019/02/13 03:00:18
SWDEV-2 - Change OpenCL version number from 2834 to 2835.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2582 edit


[ROCm/clr commit: 489dfd8a84]
2019-02-13 03:17:21 -05:00
Maneesh Gupta 8cec9962f5 [ci] Switch CI tests to cuda-10.x
Change-Id: I99e99bcf528d0c38924bd3a86a3067628f2bb3ea


[ROCm/clr commit: 09e1cde903]
2019-02-13 13:22:08 +05:30
Maneesh Gupta 6ed576713f Initialize HIP_LIB_PATH on hcc path
Change-Id: I8f392fffcd6a3714c20cb17e876dbaad999c33a0


[ROCm/clr commit: 2a575aeda6]
2019-02-13 09:57:21 +05:30
Maneesh Gupta c7cd92aacb Fix signature for unsigned long long variant of atomicExch
This fixes #888

Change-Id: I2b2dc5ed1ff2a26083ad9d102eccac90f67801ae


[ROCm/clr commit: fdbf84558c]
2019-02-13 09:45:07 +05:30
Maneesh Gupta 2cc84d5421 Merge pull request #913 from aaronenyeshi/fix-texture-constant-addrspace
Fix texture using constant addrspace 4

[ROCm/clr commit: f1f9cc0d55]
2019-02-13 08:59:01 +05:30
Maneesh Gupta 42a389aa1b Merge pull request #912 from ROCm-Developer-Tools/remove-cpp-function-templates-for-malloc
Remove C++ function templates for hipMalloc and hipHostMalloc

[ROCm/clr commit: 61d9553103]
2019-02-13 08:58:26 +05:30
Maneesh Gupta 8c03ea0bf5 Merge pull request #910 from aaronenyeshi/hip-code-obj-v3-passing
hipcc should consume -mcode-object-v3 flag

[ROCm/clr commit: cc7defa141]
2019-02-13 08:58:19 +05:30