Commit Graph

54851 Commits

Author SHA1 Message Date
Rahul Garg 156e35cfe9 Fix hipGetDeviceAttribute dtest for HIP/NVCC
[ROCm/clr commit: a62ef42c09]
2017-12-06 15:49:06 +05:30
Rahul Garg a62ef42c09 Fix hipGetDeviceAttribute dtest for HIP/NVCC 2017-12-06 15:49:06 +05:30
Rahul Garg 0782c52271 Fix hipGetDeviceAttribute dtest for HIP/NVCC 2017-12-06 15:49:06 +05:30
Jenkins d774d05f5a Merge 'master' into 'amd-master'
Change-Id: I69f30c3cbac0dd973147b53f92f7bfaed7610566


[ROCm/clr commit: 038628afd5]
2017-12-06 04:10:58 -06:00
Jenkins 038628afd5 Merge 'master' into 'amd-master'
Change-Id: I69f30c3cbac0dd973147b53f92f7bfaed7610566
2017-12-06 04:10:58 -06:00
Jenkins 1bc3cc369c Merge 'master' into 'amd-master'
Change-Id: I69f30c3cbac0dd973147b53f92f7bfaed7610566
2017-12-06 04:10:58 -06:00
foreman 03cbdd4683 P4 to Git Change 1490975 by johtaylo@johtaylo-jtincrementor2-increment on 2017/12/06 03:00:04
SWDEV-2 - Change OpenCL version number from 2550 to 2551.

Affected files ...

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


[ROCm/clr commit: ea2dfe1d8c]
2017-12-06 03:06:51 -05:00
foreman ea2dfe1d8c P4 to Git Change 1490975 by johtaylo@johtaylo-jtincrementor2-increment on 2017/12/06 03:00:04
SWDEV-2 - Change OpenCL version number from 2550 to 2551.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2298 edit
2017-12-06 03:06:51 -05:00
Sean Keely ca4c884306 Report library load errors in debug builds.
Change-Id: I24e63b15ad74fb86ecfe839f543800c2140c09d9
2017-12-05 18:49:33 -05:00
Sean Keely e155bd0cb1 Report library load errors in debug builds.
Change-Id: I24e63b15ad74fb86ecfe839f543800c2140c09d9


[ROCm/ROCR-Runtime commit: ca4c884306]
2017-12-05 18:49:33 -05:00
Aaron En Ye Shi 880cd966de Fix ilogb/ilogbf functions to return int
This patch will fix hipDoublePrecisionMathDevice test on ThinLTO, which uncovered that hip math_function's ilogb/ilogbf should return type int instead of double. This will match rocdl.


[ROCm/clr commit: b439b45641]
2017-12-05 23:14:10 +00:00
Aaron En Ye Shi b439b45641 Fix ilogb/ilogbf functions to return int
This patch will fix hipDoublePrecisionMathDevice test on ThinLTO, which uncovered that hip math_function's ilogb/ilogbf should return type int instead of double. This will match rocdl.
2017-12-05 23:14:10 +00:00
Aaron En Ye Shi 707aaef99d Fix ilogb/ilogbf functions to return int
This patch will fix hipDoublePrecisionMathDevice test on ThinLTO, which uncovered that hip math_function's ilogb/ilogbf should return type int instead of double. This will match rocdl.
2017-12-05 23:14:10 +00:00
Ben Sander 1a23d5e95a Merge pull request #281 from mangupta/issue126
[samples] Adds a sample that shows using HIP with cmake
2017-12-05 11:42:11 -06:00
Ben Sander a25a01f2c9 Merge pull request #281 from mangupta/issue126
[samples] Adds a sample that shows using HIP with cmake

[ROCm/clr commit: faef491778]
2017-12-05 11:42:11 -06:00
Ben Sander faef491778 Merge pull request #281 from mangupta/issue126
[samples] Adds a sample that shows using HIP with cmake
2017-12-05 11:42:11 -06:00
Ben Sander 163b0f7978 Merge pull request #281 from mangupta/issue126
[samples] Adds a sample that shows using HIP with cmake
2017-12-05 11:42:11 -06:00
Evgeny Mankov d8f8cc2838 [HIPIFY] Disable cudaBuiltin matcher.
As HIP has started to support vanilla CUDA syntax for threadIdx, blockIdx, blockDim and gridDim.
Other CUDA builtins are not tracked for now.


[ROCm/clr commit: ccc959fdc9]
2017-12-05 20:28:51 +03:00
Evgeny Mankov ccc959fdc9 [HIPIFY] Disable cudaBuiltin matcher.
As HIP has started to support vanilla CUDA syntax for threadIdx, blockIdx, blockDim and gridDim.
Other CUDA builtins are not tracked for now.
2017-12-05 20:28:51 +03:00
Evgeny Mankov 71d2fb20c8 [HIPIFY] Disable cudaBuiltin matcher.
As HIP has started to support vanilla CUDA syntax for threadIdx, blockIdx, blockDim and gridDim.
Other CUDA builtins are not tracked for now.
2017-12-05 20:28:51 +03:00
Evgeny Mankov e3e37db0d7 [HIPIFY] remove duplicates from CUDA_IDENTIFIER_MAP
[ROCm/clr commit: 43f0a14005]
2017-12-05 19:46:53 +03:00
Evgeny Mankov 43f0a14005 [HIPIFY] remove duplicates from CUDA_IDENTIFIER_MAP 2017-12-05 19:46:53 +03:00
Evgeny Mankov f24dfc6f36 [HIPIFY] remove duplicates from CUDA_IDENTIFIER_MAP 2017-12-05 19:46:53 +03:00
foreman d8b10e0aef P4 to Git Change 1490442 by emankov@em-rocm-vdi on 2017/12/05 10:16:50
SWDEV-119491 - Remove WITH_LIGHTNING_COMPILER guard as unnecessary

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#78 edit


[ROCm/clr commit: 37e6282f02]
2017-12-05 10:26:31 -05:00
foreman 37e6282f02 P4 to Git Change 1490442 by emankov@em-rocm-vdi on 2017/12/05 10:16:50
SWDEV-119491 - Remove WITH_LIGHTNING_COMPILER guard as unnecessary

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#78 edit
2017-12-05 10:26:31 -05:00
Evgeny Mankov 924bfd4dc5 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP
[ROCm/clr commit: 360702f70a]
2017-12-05 18:19:15 +03:00
Evgeny Mankov 360702f70a Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP 2017-12-05 18:19:15 +03:00
Evgeny Mankov 841dd69c90 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP 2017-12-05 18:19:15 +03:00
Maneesh Gupta 08a30d7a7c Merge pull request #278 from bensander/update_docs_and_square
Update docs and square

[ROCm/clr commit: 5451441fc3]
2017-12-05 15:57:36 +05:30
Maneesh Gupta 5451441fc3 Merge pull request #278 from bensander/update_docs_and_square
Update docs and square
2017-12-05 15:57:36 +05:30
Maneesh Gupta df4faf3b26 Merge pull request #278 from bensander/update_docs_and_square
Update docs and square
2017-12-05 15:57:36 +05:30
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 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 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 b3fb8ea92f Simplify square sample's Makefile
Change-Id: I44349a880a3c57ca0e833d67d9c380b706655b1e
2017-12-05 11:54:50 +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 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