Commit Graph
64512 Commits
Author SHA1 Message Date
Rahul Garg 467b908368 Added support for
- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array


[ROCm/clr commit: 105df94cd0]
2017-12-05 14:11:13 +05:30
Rahul Garg 105df94cd0 Added support for
- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array
2017-12-05 14:11:13 +05:30
Rahul Garg 299c873e1a Added support for
- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array


[ROCm/hip commit: 115c7f2b79]
2017-12-05 14:11:13 +05:30
Rahul Garg 115c7f2b79 Added support for
- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array
2017-12-05 14:11:13 +05:30
foreman aed9b3370d P4 to Git Change 1490271 by johtaylo@johtaylo-jtincrementor2-increment on 2017/12/05 03:00:05
SWDEV-2 - Change OpenCL version number from 2549 to 2550.

Affected files ...

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


[ROCm/clr commit: 770e45a712]
2017-12-05 03:09:18 -05:00
foreman 770e45a712 P4 to Git Change 1490271 by johtaylo@johtaylo-jtincrementor2-increment on 2017/12/05 03:00:05
SWDEV-2 - Change OpenCL version number from 2549 to 2550.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2297 edit
2017-12-05 03:09:18 -05:00
Maneesh Gupta 0de3dc35fb Simplify square sample's Makefile
Change-Id: I44349a880a3c57ca0e833d67d9c380b706655b1e


[ROCm/hip-tests commit: 81bcfafe8d]
2017-12-05 11:54:50 +05:30
Maneesh Gupta 81bcfafe8d Simplify square sample's Makefile
Change-Id: I44349a880a3c57ca0e833d67d9c380b706655b1e
2017-12-05 11:54:50 +05:30
Maneesh Gupta e447146abf Simplify square sample's Makefile
Change-Id: I44349a880a3c57ca0e833d67d9c380b706655b1e


[ROCm/clr commit: ccc3fc1de6]
2017-12-05 11:54:50 +05:30
Maneesh Gupta ccc3fc1de6 Simplify square sample's Makefile
Change-Id: I44349a880a3c57ca0e833d67d9c380b706655b1e
2017-12-05 11:54:50 +05:30
Maneesh Gupta 5f92187813 Simplify square sample's Makefile
Change-Id: I44349a880a3c57ca0e833d67d9c380b706655b1e


[ROCm/hip commit: b3fb8ea92f]
2017-12-05 11:54:50 +05:30
Maneesh Gupta b3fb8ea92f Simplify square sample's Makefile
Change-Id: I44349a880a3c57ca0e833d67d9c380b706655b1e
2017-12-05 11:54:50 +05:30
Maneesh Gupta 6e2642b940 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f


[ROCm/hip-tests commit: c15d48c543]
2017-12-05 10:48:29 +05:30
Maneesh Gupta c15d48c543 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f
2017-12-05 10:48:29 +05:30
Maneesh Gupta ae0763a266 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f


[ROCm/clr commit: f52662da24]
2017-12-05 10:48:29 +05:30
Maneesh Gupta f52662da24 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f
2017-12-05 10:48:29 +05:30
Maneesh Gupta 273334bfa5 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f


[ROCm/hip commit: 6d420faca2]
2017-12-05 10:48:29 +05:30
Maneesh Gupta 6d420faca2 [samples] Adds a sample that shows using HIP with cmake
Change-Id: Ief983ea0894d7b5d1ea46a755f9134dda0a1bb8f
2017-12-05 10:48:29 +05:30
Oak Zeng c2dc301792 Revert "Revert "More cleanup of fmm.c""
This reverts commit 52f6a61970.

Change-Id: I31afe4889794df8cf1e96f5f18771bed75a213d9
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2017-12-04 15:48:11 -05:00
Oak Zeng c3dcb0a7bb Revert "Revert "More cleanup of fmm.c""
This reverts commit 5b0ba9550c.

Change-Id: I31afe4889794df8cf1e96f5f18771bed75a213d9
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>


[ROCm/ROCR-Runtime commit: c2dc301792]
2017-12-04 15:48:11 -05:00
Oak Zeng 786e470241 Revert "Revert "Cleanup fmm.c""
This reverts commit f7689d4fef,
Plus a bug fix to patch "Cleanup fmm.c":
Call id_in_array with correct parameter. The third parameter
of id_in_array is size in byte of the array, not the number
of array items. Call it correctly.

Change-Id: I72d8e2fcc0df32af76c72967386e92c1be18c159
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2017-12-04 15:48:11 -05:00
Oak Zeng 6c763e99fe Revert "Revert "Cleanup fmm.c""
This reverts commit dbd9a8736c,
Plus a bug fix to patch "Cleanup fmm.c":
Call id_in_array with correct parameter. The third parameter
of id_in_array is size in byte of the array, not the number
of array items. Call it correctly.

Change-Id: I72d8e2fcc0df32af76c72967386e92c1be18c159
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>


[ROCm/ROCR-Runtime commit: 786e470241]
2017-12-04 15:48:11 -05:00
Felix Kuehling 587d4f4bdf Rename fmm_allocate_memory_in_device
to fmm_allocate_memory_object. This function name was confusingly
similar to fmm_allocate_device and __fmm_allocate_device. The new name
reflects its function better: allocate the VM object and the kernel
mode buffer object.

Change-Id: I6604d228004b4d41e871d4de784786823608b5d6
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2017-12-04 10:23:55 -05:00
Felix Kuehling cfd86f5b7e Rename fmm_allocate_memory_in_device
to fmm_allocate_memory_object. This function name was confusingly
similar to fmm_allocate_device and __fmm_allocate_device. The new name
reflects its function better: allocate the VM object and the kernel
mode buffer object.

Change-Id: I6604d228004b4d41e871d4de784786823608b5d6
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>


[ROCm/ROCR-Runtime commit: 587d4f4bdf]
2017-12-04 10:23:55 -05:00
Jenkins 7ca3b9472f Merge 'master' into 'amd-master'
Change-Id: I1558ce7892abab30345a426d60976af9e852351d


[ROCm/clr commit: 46a5ce4e1e]
2017-12-04 04:48:51 -06:00
Jenkins 46a5ce4e1e Merge 'master' into 'amd-master'
Change-Id: I1558ce7892abab30345a426d60976af9e852351d
2017-12-04 04:48:51 -06:00
Jenkins e547608c5e Merge 'master' into 'amd-master'
Change-Id: I1558ce7892abab30345a426d60976af9e852351d


[ROCm/hip commit: 45f7febc21]
2017-12-04 04:48:51 -06:00
Jenkins 45f7febc21 Merge 'master' into 'amd-master'
Change-Id: I1558ce7892abab30345a426d60976af9e852351d
2017-12-04 04:48:51 -06:00
Ben Sander 88d6676359 Merge pull request #279 from AlexVlx/feature_use_module_based_dispatch_instead_of_pfe
Clean up kernel retrieval code / module management

[ROCm/clr commit: c7f9dbf789]
2017-12-03 18:41:27 -06:00
Ben Sander c7f9dbf789 Merge pull request #279 from AlexVlx/feature_use_module_based_dispatch_instead_of_pfe
Clean up kernel retrieval code / module management
2017-12-03 18:41:27 -06:00
Ben Sander ee0114f1f3 Merge pull request #279 from AlexVlx/feature_use_module_based_dispatch_instead_of_pfe
Clean up kernel retrieval code / module management

[ROCm/hip commit: d62074e3fc]
2017-12-03 18:41:27 -06:00
Ben Sander d62074e3fc Merge pull request #279 from AlexVlx/feature_use_module_based_dispatch_instead_of_pfe
Clean up kernel retrieval code / module management
2017-12-03 18:41:27 -06:00
Ben Sander eae70713b5 Merge pull request #276 from bensander/temp_disable_tests
Temporarily disable a couple tests pending some HCC work

[ROCm/clr commit: 4dfcd401b0]
2017-12-03 18:33:47 -06:00
Ben Sander 4dfcd401b0 Merge pull request #276 from bensander/temp_disable_tests
Temporarily disable a couple tests pending some HCC work
2017-12-03 18:33:47 -06:00
Ben Sander ff543f328b Merge pull request #276 from bensander/temp_disable_tests
Temporarily disable a couple tests pending some HCC work

[ROCm/hip commit: 2ae6882d4f]
2017-12-03 18:33:47 -06:00
Ben Sander 2ae6882d4f Merge pull request #276 from bensander/temp_disable_tests
Temporarily disable a couple tests pending some HCC work
2017-12-03 18:33:47 -06:00
Alex Voicu 8294d086a8 Re-sync with upstream.
[ROCm/clr commit: 76614f15af]
2017-12-03 23:14:58 +00:00
Alex Voicu 76614f15af Re-sync with upstream. 2017-12-03 23:14:58 +00:00
Alex Voicu 6e56aa7188 Re-sync with upstream.
[ROCm/hip commit: 5ca3176a91]
2017-12-03 23:14:58 +00:00
Alex Voicu 5ca3176a91 Re-sync with upstream. 2017-12-03 23:14:58 +00:00
Alex Voicu 37e40fcd40 This is primarily intended as an additional cleanup of the module functionality, in the aftermath of adopting module based dispatch. The main effort was associated with refactoring the questionable ihipModuleGetSymbol. It was quaintly written and misleading, in that it had little to do with getting symbols, and was exactly retrieving a kernel object. Error handling is modified so as to reduce branching depth. Functions which serve as interfaces to the HSA RT are moved in a separate helper header. Code object readers are properly deleted. Some leftover dead functionality pertaining to associating namespace scope variables with their allocated memory is removed. Executable loading is changed to use a string which holds the ELF image of the code object being loaded, thus avoiding some corner cases where using a istream would fail.
[ROCm/clr commit: e186bd9533]
2017-12-03 23:09:06 +00:00
Alex Voicu e186bd9533 This is primarily intended as an additional cleanup of the module functionality, in the aftermath of adopting module based dispatch. The main effort was associated with refactoring the questionable ihipModuleGetSymbol. It was quaintly written and misleading, in that it had little to do with getting symbols, and was exactly retrieving a kernel object. Error handling is modified so as to reduce branching depth. Functions which serve as interfaces to the HSA RT are moved in a separate helper header. Code object readers are properly deleted. Some leftover dead functionality pertaining to associating namespace scope variables with their allocated memory is removed. Executable loading is changed to use a string which holds the ELF image of the code object being loaded, thus avoiding some corner cases where using a istream would fail. 2017-12-03 23:09:06 +00:00
Alex Voicu abe3c22cf1 This is primarily intended as an additional cleanup of the module functionality, in the aftermath of adopting module based dispatch. The main effort was associated with refactoring the questionable ihipModuleGetSymbol. It was quaintly written and misleading, in that it had little to do with getting symbols, and was exactly retrieving a kernel object. Error handling is modified so as to reduce branching depth. Functions which serve as interfaces to the HSA RT are moved in a separate helper header. Code object readers are properly deleted. Some leftover dead functionality pertaining to associating namespace scope variables with their allocated memory is removed. Executable loading is changed to use a string which holds the ELF image of the code object being loaded, thus avoiding some corner cases where using a istream would fail.
[ROCm/hip commit: 5127ce67e8]
2017-12-03 23:09:06 +00:00
Alex Voicu 5127ce67e8 This is primarily intended as an additional cleanup of the module functionality, in the aftermath of adopting module based dispatch. The main effort was associated with refactoring the questionable ihipModuleGetSymbol. It was quaintly written and misleading, in that it had little to do with getting symbols, and was exactly retrieving a kernel object. Error handling is modified so as to reduce branching depth. Functions which serve as interfaces to the HSA RT are moved in a separate helper header. Code object readers are properly deleted. Some leftover dead functionality pertaining to associating namespace scope variables with their allocated memory is removed. Executable loading is changed to use a string which holds the ELF image of the code object being loaded, thus avoiding some corner cases where using a istream would fail. 2017-12-03 23:09:06 +00:00
Ben Sander 5b5bbd0b99 Merge pull request #271 from bensander/cppcheck
Cppcheck

[ROCm/clr commit: 6e2e029b39]
2017-12-02 08:36:17 -06:00
Ben Sander 6e2e029b39 Merge pull request #271 from bensander/cppcheck
Cppcheck
2017-12-02 08:36:17 -06:00
Ben Sander 1706feba74 Merge pull request #271 from bensander/cppcheck
Cppcheck

[ROCm/hip commit: 6f3ed5e3cf]
2017-12-02 08:36:17 -06:00
Ben Sander 6f3ed5e3cf Merge pull request #271 from bensander/cppcheck
Cppcheck
2017-12-02 08:36:17 -06:00
Ben Sander 345f23e6c1 Remove coordinate conversions (threadIdx.x -> hipThreadIdx_x)
Since these are now supported directly.


[ROCm/clr commit: a431bf6ba2]
2017-12-02 07:44:54 -06:00
Ben Sander a431bf6ba2 Remove coordinate conversions (threadIdx.x -> hipThreadIdx_x)
Since these are now supported directly.
2017-12-02 07:44:54 -06:00