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

13474 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta 3f87e33c9a Merge pull request #710 from mangupta/use_hipLaunchKernelGGL
Replace hipLaunchKernel -> hipLaunchKernelGGL
2018-10-18 08:36:59 +05:30
Nicholas Malaya bfbc1298d1 Update hip_porting_guide.md 2018-10-17 14:27:11 -05:00
Nicholas Malaya adc7741441 Fixing link 2018-10-17 14:26:49 -05:00
Nicholas Malaya 319f7232c2 Fixing a link 2018-10-17 14:25:54 -05:00
Nicholas Malaya 4c2e4ead8d Adding library equivalent section 2018-10-17 14:25:07 -05:00
Nicholas Malaya 41279dcb38 Small editing changes to clean up document 2018-10-17 14:11:25 -05:00
Nicholas Malaya 4939444a51 Fixing a broken indentation
Minor (cosmetic) edit to make items appear in ordered bulleted list
2018-10-17 13:56:51 -05:00
Nicholas Malaya 20bb485199 Update hip_porting_guide.md
Adding hyperlink to bin/hipconvertinplace.sh
2018-10-17 13:49:47 -05:00
Jenkins 70f67ff7be Merge 'master' into 'amd-master'
Change-Id: I9cd9ee0d875a2bf345b0c996a63e9168a76b1108
2018-10-17 04:09:35 -05:00
Maneesh Gupta e1fe095471 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
2018-10-17 14:32:25 +05:30
Maneesh Gupta 3bf8e9ad8e Fix typos in Jenkinsfile 2018-10-17 11:13:37 +05:30
Maneesh Gupta f41924d42e Update Jenkinsfile
Disable rocm-1.9x testing in CI due to incompatible changes with HCC from ROCm 1.9.x
2018-10-17 11:03:43 +05:30
Maneesh Gupta 95be669f4a Merge pull request #703 from mangupta/stream_create_with_priority
Implementation for stream priority
2018-10-17 10:53:43 +05:30
Maneesh Gupta 3485d86746 Merge pull request #702 from aaronenyeshi/fix-missing-irif-lib
Replace IRIF fences with atomic_work_item_fence
2018-10-17 10:53:27 +05:30
Maneesh Gupta 6a4aaed7f3 Merge pull request #698 from yxsamliu/compile-flags
Add HIPCC_COMPILE_FLAGS_APPEND
2018-10-17 10:53:17 +05:30
Maneesh Gupta 5ca415a172 Merge pull request #696 from gargrahul/fix_texrestypelin_size
Fixed image width for linear resource type texture
2018-10-17 06:11:23 +05:30
Maneesh Gupta ae4e24dc21 Merge pull request #708 from mangupta/swdev-125523
Add missing hipHostRegister flags on nvcc path
2018-10-17 06:10:25 +05:30
Evgeny Mankov 3f4f090fd9 Merge pull request #709 from emankov/master
[HIPIFY] Code cleanup and formatting
2018-10-15 15:37:38 +03:00
Evgeny Mankov 9a1a511c84 [HIPIFY] Code cleanup and formatting 2018-10-15 15:27:37 +03:00
Maneesh Gupta d71006eb99 Add missing hipHostRegister flags on nvcc path
Change-Id: I69f09204d9c544935104d4168ab8d3626666a623
2018-10-15 15:30:24 +05:30
Alex Voicu f480a134f4 Update samples. 2018-10-13 23:28:22 +01:00
Alex Voicu 217fe345ca Minimal should mean minimal. 2018-10-11 00:21:41 +01:00
Alex Voicu 7874ec8aaf Trailing whitespace is still not the final frontier. 2018-10-11 00:08:09 +01:00
Alex Voicu b2b482c78e Address Aaron's comments 2018-10-11 00:03:01 +01:00
Alex Voicu 031c1d574f Use HIP math functions, stop using hipLaunchParm. 2018-10-10 11:56:54 +01:00
Alex Voicu c564ccbffc Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_minimal_changes_for_hc_next 2018-10-10 11:44:09 +01:00
Alex Voicu 9ec697c620 Re-sync with upstream. 2018-10-10 11:43:49 +01:00
foreman 9b367f0387 P4 to Git Change 1615280 by chui@ocl-promo-incrementor on 2018/10/06 03:00:27
SWDEV-2 - Change OpenCL version number from 2754 to 2755.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2502 edit
2018-10-06 03:10:38 -04:00
Maneesh Gupta 07ee1f07d8 Implementation for stream priority
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged

Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca
2018-10-05 16:27:46 +05:30
foreman 2704d2ac22 P4 to Git Change 1614831 by chui@ocl-promo-incrementor on 2018/10/05 03:00:26
SWDEV-2 - Change OpenCL version number from 2753 to 2754.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2501 edit
2018-10-05 03:07:29 -04:00
Aaron Enye Shi 03822afaa9 Replace IRIF fences with atomic_work_item_fence 2018-10-04 21:47:28 +00:00
Jenkins 3cb93c2ed2 Merge 'master' into 'amd-master'
Change-Id: I1884a7f1ee85ee14592fd6c2f28beb4872d0fd13
2018-10-04 04:09:36 -05:00
foreman 035b8e3d1f P4 to Git Change 1614408 by chui@ocl-promo-incrementor on 2018/10/04 02:56:51
SWDEV-2 - Change OpenCL version number from 2752 to 2753.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2500 edit
2018-10-04 03:08:45 -04:00
Maneesh Gupta e7d3f3860e Merge pull request #697 from yxsamliu/dev-lib-path
Let hipcc add --hip-device-lib-path by default for hip-clang
2018-10-04 07:40:37 +05:30
Maneesh Gupta ed51044502 Merge pull request #700 from ROCm-Developer-Tools/fix-long-long-decl
Fix hip_vector_types.h for long long vectors
2018-10-04 07:39:30 +05:30
foreman 8a8f7e3657 P4 to Git Change 1614278 by wchau@wchau_OCL_cmake on 2018/10/03 21:04:41
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
	(Resubmitted CL1613181 with a bug fix)

	- porting CMAKE changes in http://git.amd.com:8080/#/c/173995/
	- add new source file names in runtime/CMakeLists.txt
	-- required additional changes of CMAKE files from Konstantin to build the current OCL driver using CMAKE

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#15 edit
2018-10-03 21:26:10 -04:00
foreman 24437ae9d9 P4 to Git Change 1614278 by wchau@wchau_OCL_cmake on 2018/10/03 21:04:41
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
	(Resubmitted CL1613181 with a bug fix)

	- porting CMAKE changes in http://git.amd.com:8080/#/c/173995/
	- add new source file names in runtime/CMakeLists.txt
	-- required additional changes of CMAKE files from Konstantin to build the current OCL driver using CMAKE

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#15 edit
2018-10-03 21:26:10 -04:00
Aaron Enye Shi 6a71cf17a1 Fix hip_vector_types.h for long long vectors
There was a missing long in the declaration for [u]longlongN types.
2018-10-03 13:57:52 -04:00
Evgeny Mankov bde7c600c4 Merge pull request #699 from emankov/master
[HIPIFY] CUDA 10.0 Driver API initial support
2018-10-03 20:33:37 +03:00
Evgeny Mankov cb4eb94174 [HIPIFY] CUDA 10.0 Driver API initial support 2018-10-03 20:29:22 +03:00
foreman 2ffe48cbca P4 to Git Change 1613866 by chui@ocl-promo-incrementor on 2018/10/03 02:57:59
SWDEV-2 - Change OpenCL version number from 2751 to 2752.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2499 edit
2018-10-03 03:15:15 -04:00
Rahul Garg a78d68d639 Corrected the width calculation logic to accomodate multi channels 2018-10-03 12:07:38 +05:30
foreman 8ee6142811 P4 to Git Change 1613773 by gandryey@gera-w8 on 2018/10/02 18:37:59
SWDEV-79445 - OCL generic changes and code clean-up
	Program compilation clean-up:
	- Remove !defined(WITH_LIGHTNING_COMPILER), but appprofiler still requires more changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#232 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#38 edit
2018-10-02 18:50:36 -04:00
foreman 0416a223bb P4 to Git Change 1613598 by gandryey@gera-w8 on 2018/10/02 14:25:19
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix a crash with Unity, during RGP capture.  Keep local size as 1 if the app didn't provide any

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#126 edit
2018-10-02 14:37:16 -04:00
foreman 335c31ec76 P4 to Git Change 1613522 by gandryey@gera-ocl-lc on 2018/10/02 11:44:38
SWDEV-79445 - OCL generic changes and code clean-up
	Program compilation clean-up. Step#7:
	- Introduce a new key to control the compilation path dynamically
	- InitBuild/finiBuild clean-up

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#245 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#96 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#299 edit
2018-10-02 11:52:23 -04:00
foreman d219d45f7d P4 to Git Change 1613522 by gandryey@gera-ocl-lc on 2018/10/02 11:44:38
SWDEV-79445 - OCL generic changes and code clean-up
	Program compilation clean-up. Step#7:
	- Introduce a new key to control the compilation path dynamically
	- InitBuild/finiBuild clean-up

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#321 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#245 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#96 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#299 edit
2018-10-02 11:52:23 -04:00
foreman 4297e10e42 P4 to Git Change 1613400 by chui@ocl-promo-incrementor on 2018/10/02 02:57:08
SWDEV-2 - Change OpenCL version number from 2750 to 2751.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2498 edit
2018-10-02 03:08:36 -04:00
foreman ac3ab672b8 P4 to Git Change 1613229 by wchau@wchau_OCL_cmake on 2018/10/01 15:12:47
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
	- Back out changelist 1613181 as it causes TC build failures

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#14 edit
2018-10-01 15:35:29 -04:00
foreman 77da86d984 P4 to Git Change 1613229 by wchau@wchau_OCL_cmake on 2018/10/01 15:12:47
SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue
	- Back out changelist 1613181 as it causes TC build failures

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#14 edit
2018-10-01 15:35:29 -04:00
Yaxun Sam Liu 88768895bc Let hipcc add --hip-device-lib-path by default for hip-clang
hip-clang by default assumes -fno-gpu-rdc, therefore requires
--hip-device-lib-path by default.
2018-10-01 15:14:54 -04:00