Commit Graph

54851 Commits

Author SHA1 Message Date
Ben Sander b1aee08dc1 Fix warning from default cppchek.
[ROCm/clr commit: 743c54a012]
2017-12-01 20:45:33 +00:00
Ben Sander 743c54a012 Fix warning from default cppchek. 2017-12-01 20:45:33 +00:00
Ben Sander 4313686d6e Fix warning from default cppchek. 2017-12-01 20:45:33 +00:00
Ben Sander 2ffc9d221b Merge pull request #246 from AlexVlx/feature_use_module_based_dispatch_instead_of_pfe
Use natural dispatch syntax

[ROCm/clr commit: 1a6727e2fc]
2017-12-01 14:21:25 -06:00
Ben Sander 1a6727e2fc Merge pull request #246 from AlexVlx/feature_use_module_based_dispatch_instead_of_pfe
Use natural dispatch syntax
2017-12-01 14:21:25 -06:00
Ben Sander dac57ba854 Merge pull request #246 from AlexVlx/feature_use_module_based_dispatch_instead_of_pfe
Use natural dispatch syntax
2017-12-01 14:21:25 -06:00
foreman 19e6a639e9 P4 to Git Change 1489221 by johtaylo@johtaylo-jtincrementor2-increment on 2017/12/01 03:00:05
SWDEV-2 - Change OpenCL version number from 2547 to 2548.

Affected files ...

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


[ROCm/clr commit: 7a79256506]
2017-12-01 03:06:44 -05:00
foreman 7a79256506 P4 to Git Change 1489221 by johtaylo@johtaylo-jtincrementor2-increment on 2017/12/01 03:00:05
SWDEV-2 - Change OpenCL version number from 2547 to 2548.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2295 edit
2017-12-01 03:06:44 -05:00
foreman 9ce3ad0bab P4 to Git Change 1488953 by wchau@wchau_OCL_boltzmann on 2017/11/30 15:44:58
SWDEV-119491 - Add support for cl_amd_assembly_program extension - Enabling Extension
	This is the last part of the following four requirements:
	  (1) OpenCL API / Runtime (CL1487653), (2) ROCm Runtime - compiler invocation (CL1487815), (3) ROCm Driver (CL1488115), (4) Enabling Extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#29 edit


[ROCm/clr commit: f6b43efd00]
2017-11-30 16:04:19 -05:00
foreman f6b43efd00 P4 to Git Change 1488953 by wchau@wchau_OCL_boltzmann on 2017/11/30 15:44:58
SWDEV-119491 - Add support for cl_amd_assembly_program extension - Enabling Extension
	This is the last part of the following four requirements:
	  (1) OpenCL API / Runtime (CL1487653), (2) ROCm Runtime - compiler invocation (CL1487815), (3) ROCm Driver (CL1488115), (4) Enabling Extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#29 edit
2017-11-30 16:04:19 -05:00
Evgeny 1d56b2197f minor output changes 2017-11-30 14:26:16 -06:00
Evgeny 5fa83345a2 minor output changes
[ROCm/rocprofiler commit: 1d56b2197f]
2017-11-30 14:26:16 -06:00
Jenkins 8a739227bc Merge 'master' into 'amd-master'
Change-Id: I1bb9891e5cb4b85f2f265a8723cf16bb631904f3


[ROCm/clr commit: f83f9f2916]
2017-11-30 04:11:08 -06:00
Jenkins f83f9f2916 Merge 'master' into 'amd-master'
Change-Id: I1bb9891e5cb4b85f2f265a8723cf16bb631904f3
2017-11-30 04:11:08 -06:00
Jenkins 9dd2ff9ce5 Merge 'master' into 'amd-master'
Change-Id: I1bb9891e5cb4b85f2f265a8723cf16bb631904f3
2017-11-30 04:11:08 -06:00
foreman d950b3aa35 P4 to Git Change 1488675 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/30 03:00:05
SWDEV-2 - Change OpenCL version number from 2546 to 2547.

Affected files ...

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


[ROCm/clr commit: 7969ad569d]
2017-11-30 03:06:16 -05:00
foreman 7969ad569d P4 to Git Change 1488675 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/30 03:00:05
SWDEV-2 - Change OpenCL version number from 2546 to 2547.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2294 edit
2017-11-30 03:06:16 -05:00
Alex Voicu 76336d46b4 Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter.
[ROCm/clr commit: 33bb425013]
2017-11-30 03:29:04 +00:00
Alex Voicu 33bb425013 Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter. 2017-11-30 03:29:04 +00:00
Alex Voicu 7c0b9a005b Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter. 2017-11-30 03:29:04 +00:00
Evgeny 5f9840e94c minor fixes and comments 2017-11-29 17:42:36 -06:00
Evgeny fbb85d5c38 minor fixes and comments
[ROCm/rocprofiler commit: 5f9840e94c]
2017-11-29 17:42:36 -06:00
Alex Voicu c1c4f454d8 Add missing space (the final frontier).
[ROCm/clr commit: 2e39534377]
2017-11-29 21:50:43 +00:00
Alex Voicu 2e39534377 Add missing space (the final frontier). 2017-11-29 21:50:43 +00:00
Alex Voicu 20fc68c9a1 Add missing space (the final frontier). 2017-11-29 21:50:43 +00:00
Alex Voicu 071b260cf6 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit fe3719a
2017-11-29 21:49:10 +00:00
Alex Voicu a27fa25d76 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit 1cd6416


[ROCm/clr commit: 4966518846]
2017-11-29 21:49:10 +00:00
Alex Voicu 4966518846 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit 4792475
2017-11-29 21:49:10 +00:00
Alex Voicu 32e11e7dc6 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit d2fd1f5
2017-11-29 21:49:10 +00:00
Alex Voicu e0a41791c8 Use a much simpler guard for version 1.6, which allows for direct CUDA indexing to be used.
[ROCm/clr commit: 92e80f0943]
2017-11-29 21:47:04 +00:00
Alex Voicu 92e80f0943 Use a much simpler guard for version 1.6, which allows for direct CUDA indexing to be used. 2017-11-29 21:47:04 +00:00
Alex Voicu 7acb1e6ff6 Use a much simpler guard for version 1.6, which allows for direct CUDA indexing to be used. 2017-11-29 21:47:04 +00:00
Alex Voicu 2d36d3d36e Merge branch 'feature_use_module_based_dispatch_instead_of_pfe' of https://github.com/AlexVlx/HIP into feature_use_module_based_dispatch_instead_of_pfe 2017-11-29 21:45:56 +00:00
Alex Voicu 094dc0e8c5 Merge branch 'feature_use_module_based_dispatch_instead_of_pfe' of https://github.com/AlexVlx/HIP into feature_use_module_based_dispatch_instead_of_pfe
[ROCm/clr commit: 30e4d445b1]
2017-11-29 21:45:56 +00:00
Alex Voicu 30e4d445b1 Merge branch 'feature_use_module_based_dispatch_instead_of_pfe' of https://github.com/AlexVlx/HIP into feature_use_module_based_dispatch_instead_of_pfe 2017-11-29 21:45:56 +00:00
Alex Voicu 61453e15cc Merge branch 'feature_use_module_based_dispatch_instead_of_pfe' of https://github.com/AlexVlx/HIP into feature_use_module_based_dispatch_instead_of_pfe 2017-11-29 21:45:56 +00:00
Alex Voicu 6e2e720b26 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit d2fd1f5
2017-11-29 21:36:29 +00:00
Alex Voicu a1d5f0ab0c Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit d2fd1f5


[ROCm/clr commit: 2557000b56]
2017-11-29 21:36:29 +00:00
Alex Voicu 2557000b56 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit d2fd1f5
2017-11-29 21:36:29 +00:00
Alex Voicu fbaf729f88 Revert "Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions."
This reverts commit d2fd1f5
2017-11-29 21:36:29 +00:00
Ben Sander 2b2bc08c10 Merge pull request #275 from mangupta/bump_version_1.5
Bumped HIP version to 1.5 and updated summary in HIP release notes

[ROCm/clr commit: 2f542c46c8]
2017-11-29 15:06:02 -06:00
Ben Sander 2f542c46c8 Merge pull request #275 from mangupta/bump_version_1.5
Bumped HIP version to 1.5 and updated summary in HIP release notes
2017-11-29 15:06:02 -06:00
Ben Sander a0cec19d6e Merge pull request #275 from mangupta/bump_version_1.5
Bumped HIP version to 1.5 and updated summary in HIP release notes
2017-11-29 15:06:02 -06:00
Alex Voicu fe3719af15 Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions. 2017-11-29 21:01:28 +00:00
Alex Voicu 1cd6416492 Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions.
[ROCm/clr commit: 4792475d01]
2017-11-29 21:01:28 +00:00
Alex Voicu 4792475d01 Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions. 2017-11-29 21:01:28 +00:00
Alex Voicu d2fd1f5544 Revert adoption of CUDA indexing in general - this can only work with later versions of the compiler, just like module based dispatch, and thus must be guarded against usage in earlier (e.g. 1.6) versions. 2017-11-29 21:01:28 +00:00
Evgeny a41e91a13c adding kernel name to the dispatch callback data 2017-11-29 15:01:27 -06:00
Evgeny b14dd1271d adding kernel name to the dispatch callback data
[ROCm/rocprofiler commit: a41e91a13c]
2017-11-29 15:01:27 -06:00
Evgeny cb3a591826 coding style formatting 2017-11-29 13:53:12 -06:00