Commit Graph

13474 Commits

Author SHA1 Message Date
Jenkins f9d7d2bf7c Merge 'master' into 'amd-master'
Change-Id: I7e307defaf54b3e95d97e8910bb61faba1021d3e
2018-07-24 04:09:46 -05:00
foreman f1157f1cfb P4 to Git Change 1584378 by chui@ocl-promo-incrementor on 2018/07/24 02:56:41
SWDEV-2 - Change OpenCL version number from 2700 to 2701.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2448 edit
2018-07-24 03:14:10 -04:00
Rahul Garg f17c897751 Null check before setting offset 2018-07-24 12:25:40 +05:30
Rahul Garg 0ec64e8b24 Set offset in hipGetTextureAlignmentOffset 2018-07-24 10:11:26 +05:30
Maneesh Gupta cab5e80b22 Merge pull request #582 from ROCm-Developer-Tools/set-vdi-path
Let hipcc use proper include and lib path for HIP/VDI
2018-07-24 07:32:54 +05:30
Maneesh Gupta bb02937dd5 Merge pull request #580 from ROCm-Developer-Tools/document-fatbin
Document hip-clang fatbinary format and initialization function
2018-07-24 07:31:19 +05:30
Maneesh Gupta 25ba9f6f94 Fix typo 2018-07-24 07:30:05 +05:30
foreman c84525aa73 P4 to Git Change 1584196 by gandryey@gera-w8 on 2018/07/23 18:05:14
SWDEV-79445 - OCL generic changes and code clean-up
	- Reset memory dependency if runtime invalidated L1 for the profiling logic workaround. Profiling can be enabled for wave limiter, which could cause L1 invalidation twice.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#116 edit
2018-07-23 18:19:58 -04:00
Jorghi12 25c780c89e Fixing a HIP bug that causes DEBUG symbols to be dropped.
I've noticed that in the generated makefiles, we'd have 

if(NOT build_configuration)
    set(build_configuration Debug)
endif()

However, only definitions with all capitals are provided. 

e.g.

set(HIP_HCC_FLAGS_DEBUG -g)

This is because of lines 442 to 448. We capitalize the configuration ${config_upper}.

This PR fixes this bug.
2018-07-23 18:16:00 -04:00
foreman 12a063779d P4 to Git Change 1584092 by zukhan@zukhan-lc-win10 on 2018/07/23 15:24:19
SWDEV-155860 - [OCL][LC] 62 Failures running on OCL/LC Windows drivers
	 - Conformance test  basic->vload_private was failing due to alignment assert check on akc->workitem_private_segment_byte_size.
	 - Determined needed to add alignment, so added alignment into the header file, and removed assert check (as alignment was done afterwards).

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15451/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#18 edit
2018-07-23 15:41:16 -04:00
Yaxun Sam Liu 555c2f9c08 Fix warnings about unused command line option --hip-link
and set search path for libhip_hcc.so
2018-07-23 14:55:07 -04:00
Yaxun Sam Liu 674b45902d Document hip-clang fatbinary format and initialization function
This is for documenting the change in hip-clang: https://reviews.llvm.org/D49083
2018-07-23 09:28:40 -04:00
Yaxun Sam Liu 6053c71323 Fix hipcc for -M for hip-clang 2018-07-23 09:26:42 -04:00
Yaxun Sam Liu 4627aa0085 Let hipcc use proper include and lib path for HIP/VDI
Add support of environment variable HIP_VDI_HOME.

By setting environment variable HIP_VDI_HOME to the distribution directory of HIP/VDI, hipcc
will choose proper include and lib path for hip-clang.
2018-07-23 09:26:42 -04:00
Evgeny Mankov a5afadec7e Merge pull request #583 from emankov/cuDNN
[HIPIFY][DNN] cuDNN support revise
2018-07-23 14:13:54 +03:00
Maneesh Gupta e2615335c0 Merge pull request #568 from Srinivasuluch/sprint2_9tests
Adding a few more struct scenarions and a ResultValidation()
2018-07-23 14:44:06 +05:30
Maneesh Gupta 00c1542487 Merge pull request #558 from Jorghi12/patch-8
Fix the FindHIP.cmake script.
2018-07-23 11:48:42 +05:30
saleelk e8a5ad629f Fix hipHostRegister mem leak and copy kind in hipMemcpyAsync (#587) 2018-07-23 11:04:14 +05:30
Maneesh Gupta 4637e11a24 Fix typo in FindHIP.cmake 2018-07-23 10:39:45 +05:30
Maneesh Gupta 137d7f559f Merge pull request #559 from rpathani/master
Adding functor unit tests
2018-07-23 10:15:16 +05:30
Maneesh Gupta 123af1a9c6 Merge pull request #584 from ROCm-Developer-Tools/fix-vector-explicit-cast
Fix explicit cast required
2018-07-23 10:13:05 +05:30
Maneesh Gupta 4d6a3f3eba Merge pull request #581 from ROCm-Developer-Tools/fix-warning-math-decl
[HIPClang] Switch ordering on math functions
2018-07-23 10:12:01 +05:30
Maneesh Gupta c53d0f967e Merge pull request #554 from gargrahul/cleanup_hipmemset3d_test
Cleaned up hipMemset3D test
2018-07-23 10:11:49 +05:30
foreman 8fb21f8181 P4 to Git Change 1583683 by chui@ocl-promo-incrementor on 2018/07/21 02:56:33
SWDEV-2 - Change OpenCL version number from 2699 to 2700.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2447 edit
2018-07-21 03:09:20 -04:00
foreman 9aca622a92 P4 to Git Change 1583633 by vsytchen@vsytchen-win10 on 2018/07/20 18:09:50
SWDEV-79445 - OCL generic changes and code clean-up

	1. Purge reduntant SVM alignment. The size will always get correctly aligned inside of PAL/GSL.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15454/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#596 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#245 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#70 edit
2018-07-20 19:34:45 -04:00
Aaron Enye Shi 032ebd41ea Fix explicit cast required
This is required for PyTorch which runs into an issue with narrowing types. Requires an explicit cast.
2018-07-20 16:34:15 -04:00
Evgeny Mankov 618b1f5171 [HIPIFY][DNN] cuDNN support revise
+ add doc for CUDDN API supported by HIP
+ cuDNN softMax test
2018-07-20 21:00:24 +03:00
Aaron Enye Shi 98fca64220 [HIPClang] Switch ordering on math functions
Header math_functions.h should be included after including __clang_cuda_math_forward_declares.h to avoid warning: attribute declaration must precede definition.
2018-07-20 13:25:04 -04:00
Jenkins 53aa50a8c5 Merge 'master' into 'amd-master'
Change-Id: I4784a1bb118a6000aeff23a90befec6abbceacae
2018-07-20 04:09:44 -05:00
foreman 806aee7963 P4 to Git Change 1583209 by chui@ocl-promo-incrementor on 2018/07/20 02:56:33
SWDEV-2 - Change OpenCL version number from 2698 to 2699.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2446 edit
2018-07-20 03:09:11 -04:00
Srinivasuluch 996cfcd62a Update hipLaunchParm.cpp
Added struct bit field test, test number#21
2018-07-20 12:38:06 +05:30
foreman 75423e4972 P4 to Git Change 1582940 by gandryey@gera-w8 on 2018/07/19 15:09:58
SWDEV-159255 - [CQE OCL][ocltst][WIN] [DTB-Blocker] OCLMemoryInfo[0] a sub-test of ocltst oclruntime module is failed while running whole module and getting pass while running alone this test due to faulty CL#1576247
	- Reduce extra size acceptance for the cache look-up, so it will satisfy the test condition.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#69 edit
2018-07-19 15:36:34 -04:00
Evgeny Mankov 5184a69410 Merge pull request #578 from emankov/testing
[HIPIFY][test] Add static and dynamic shared memory tests
2018-07-19 20:48:25 +03:00
foreman 13e66cf806 P4 to Git Change 1582604 by chui@ocl-promo-incrementor on 2018/07/19 02:56:32
SWDEV-2 - Change OpenCL version number from 2697 to 2698.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2445 edit
2018-07-19 03:10:23 -04:00
rohit pathania 6ae4df95b5 Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp
2018-07-19 12:11:23 +05:30
rohit pathania c2108cb82a Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp
2018-07-19 12:02:42 +05:30
Jorghi12 4abcf5dbc4 Update FindHIP.cmake
Using Bool expression to handle empty case.
2018-07-18 23:02:11 -04:00
Maneesh Gupta 5632faf928 Merge pull request #543 from ROCm-Developer-Tools/add-std-complex
Support std::complex for hip-clang
2018-07-19 07:14:45 +05:30
foreman 8c44442f90 P4 to Git Change 1582433 by gandryey@gera-w8 on 2018/07/18 17:23:28
SWDEV-155438 - Produce RGP Queue Timings chunk for OpenCL RGP files
	- Register SDMA queue in order to get SDMA timing. The RGP trace capture with SDMA may cause a HW hang occasionally

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#115 edit
2018-07-18 18:14:56 -04:00
foreman c07510d622 P4 to Git Change 1582432 by cpaquot@cpaquot-ocl-lc-lnx on 2018/07/18 17:16:05
SWDEV-145570 - [HIP] Fixed __hipRegisterVariable to __hipRegisterVar

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#7 edit
2018-07-18 17:51:20 -04:00
foreman 7899017d49 P4 to Git Change 1582337 by vsytchen@vsytchen-win10 on 2018/07/18 15:21:49
SWDEV-79445 - OCL generic changes and code clean-up

	1. std::bind2nd is deprecated in c++11 and removed in c++17. Use a range based for loop without any functor instead.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15430/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#59 edit
2018-07-18 15:41:11 -04:00
Evgeny Mankov 7e4e821fbb [HIPIFY][test] Add static and dynamic shared memory tests 2018-07-18 18:33:44 +03:00
Yaxun Sam Liu e20e93db65 Fix test hipStdComplex.cpp to emit expected output for passing 2018-07-18 07:21:24 -04:00
Srinivasuluch 070e992134 Update hipLaunchParm.cpp
submitting changes as per Sam review/suggestions
2018-07-18 12:41:51 +05:30
foreman 8c09d51ced P4 to Git Change 1581943 by chui@ocl-promo-incrementor on 2018/07/18 02:56:41
SWDEV-2 - Change OpenCL version number from 2696 to 2697.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2444 edit
2018-07-18 03:10:33 -04:00
Yaxun (Sam) Liu a8dc1257df Support std::complex for hip-clang 2018-07-18 00:08:04 -04:00
Maneesh Gupta 6dc286b564 Merge pull request #576 from ROCm-Developer-Tools/fix_missing_vector_bits
Constrain variadic constructor to ranks > 1 and add missing `__device__`s
2018-07-18 09:34:25 +05:30
Maneesh Gupta fc65f0efb6 Merge pull request #575 from ROCm-Developer-Tools/fix_functional_gridlaunch_nonsense
It is unclear what I was thinking when authoring the original code...
2018-07-18 09:34:16 +05:30
foreman 509d540374 P4 to Git Change 1581723 by todli@todli-win-opencl-kv1 on 2018/07/17 17:45:23
SWDEV-152361 - Fixed writeBuffer, writeBufferRect and copyBufferRect paths for ExternalPhysical memory in GPU backend, so that SDI copy can sync with writeMarker correctly in Linux.
	http://ocltc.amd.com/reviews/r/15420/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#131 edit
2018-07-17 18:11:43 -04:00
Alex Voicu 7020d118da And a few more oversights. 2018-07-17 19:33:13 +01:00