Vladislav Sytchenko
dc12f8017e
Add comments explaining choice on the cap for system memory on Windows.
...
[ROCm/clr commit: a91bafca40 ]
2019-12-13 21:38:27 -05:00
Vladislav Sytchenko
014f068e2f
Add explicit cast when computing the available amount of system memory.
...
[ROCm/clr commit: 4c21eed68b ]
2019-12-13 21:37:30 -05:00
Vladislav Sytchenko
d2be30f0e0
Reduce the amount of free host memory to 40% of what is reported on Windows, otherwise we can run into OOM situations.
...
[ROCm/clr commit: 282367ed6d ]
2019-12-11 20:21:12 -05:00
Rahul Garg
48faf7423a
Revert - Changes related to hipMemcpyWithStream ( #1718 )
...
Reverting #1673 , #1697 and #1707 .
Support for hipMemcpyWithStream and memcpy optimizations, will be brought in again once issues seen with these are resolved independently.
[ROCm/clr commit: a369bd4418 ]
2019-12-06 09:51:53 +05:30
Rahul Garg
6c7a338471
Fix hipMemcpyWithStream ( #1707 )
...
* Fix hipMemcpyWithStream
* Add a dtest for the same.
[ROCm/clr commit: 261a04580f ]
2019-12-04 11:56:23 +05:30
Maneesh Gupta
97850ae9a8
Revert changes for atomic FADD support when address is in LDS ( #1701 )
...
This reverts PR #1591 and follow-on PR #1695
[ROCm/clr commit: 4c92bd50c4 ]
2019-11-29 11:58:12 +05:30
Alex Voicu
e1dca187c9
Use native support for atomic FADD when address is in LDS ( #1591 )
...
[ROCm/clr commit: 2ed3a0873c ]
2019-11-22 07:53:48 +05:30
Paul Fultz II
29bb65f6e0
Fix helper header when using c++17 ( #1666 )
...
This will fix issue #1621 . It also adds tests for is_callable with c++11, c++14, and c++17.
The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631 .
[ROCm/clr commit: 57b1b03261 ]
2019-11-20 21:33:42 +05:30
Alex Voicu
5c27a4f570
Extend vector type capabilities and add tests to reflect it. ( #1656 )
...
[ROCm/clr commit: c383f20691 ]
2019-11-20 21:32:32 +05:30
Sarbojit2019
2c00d66995
Revert [HIP] Fixed hipStreamAddCallback ( #1674 )
...
This reverts commit 4d0b7e65bb .
Addresses SWDEV#212675.
[ROCm/clr commit: 8a3c36a424 ]
2019-11-20 11:55:46 +05:30
Rahul Garg
6813f0436c
[dtest] Rename hipExtLaunchMultiKernelMultiDevice dtest ( #1671 )
...
[ROCm/clr commit: fa1335f419 ]
2019-11-19 09:41:13 -08:00
Sameer Sahasrabuddhe
82aa679a6d
hostcall: add tests that are only used by the VDI build ( #1664 )
...
[ROCm/clr commit: e158b0b255 ]
2019-11-18 19:52:40 -08:00
Rahul Garg
f524f75b69
Fix gcc build on NVCC path ( #1661 )
...
* Fix gcc build on NVCC path
* Fix CI build errors
* [dtest] Fix texture and surface obj2D tests
[ROCm/clr commit: ff31f734fe ]
2019-11-18 12:19:22 +05:30
jiabaxie
de260a6d60
Updated hipEnvVarDriver to work with Windows ( #1614 )
...
* Updated hipEnvVarDriver to work with Windows
* Cleaned up a bit of code
* Fixed a part where putenv was used for both win and linux
* Defines moved to test_common.h and cleaned up code
* Cleaned up some macro defines and used const char instead
* Got rid of some excess commenting
* directory paths are unconditional
* Cleaned some duplicate code, and variables are now declared and defined together
[ROCm/clr commit: 7bbd420068 ]
2019-11-18 12:18:29 +05:30
kjayapra-amd
fffdd3da8d
[dtests] Fixing compilation error in saxpy.cpp ( #1608 )
...
[ROCm/clr commit: 99da905509 ]
2019-11-18 12:18:11 +05:30
Alex Voicu
f48b38b0ed
Add support for extended launch syntax. ( #1530 )
...
* Add support for extended launch syntax.
* Add unit test.
* Fix typo
* hipExtLaunchKernelGGL lives in hip_ext.h
Change-Id: Ice32dab0d43475fda65c6a910c11416871a8f2ff
* [dtest] remove redundant include from hipModuleGetGlobal dtest
[ROCm/clr commit: 355d0bdf95 ]
2019-11-16 22:24:07 -08:00
Maneesh Gupta
57225de63f
[ci] Fix failures on nvcc path ( #1654 )
...
Change-Id: I97f6b51314e14965618ab510bf57a2b034183e78
[ROCm/clr commit: 4d0a234183 ]
2019-11-15 07:58:40 +05:30
Sarbojit2019
4d0b7e65bb
[HIP] Fixed hipStreamAddCallback [SWDEV#165185] ( #1425 )
...
Fixed hipStreamAddCallback() as requested in SWDEV#165185
Added unit test to test the behavior
[ROCm/clr commit: 97fca3439d ]
2019-11-07 13:18:12 +05:30
ansurya
f5a92e5cb6
Fixed texture 2D mapping for pitched arrays & 3D Texture read ( #1415 )
...
Texture 2D image mapping for pitched arrays:
github issue: Texture Object's Buffer seems to be Misaligned #886
JIRA ticket: SWDEV-199313
SWDEV-151670 : Fixed issue with 3D texture with 4 components
SWDEV-151671 : Issue with 2D layered texture with 4 components
[ROCm/clr commit: dc8f556460 ]
2019-11-07 13:17:46 +05:30
Rahul Garg
cf648f7dbe
Rename hip/hip_hcc.h to hip/hip_ext.h ( #1341 )
...
* Rename hip/hip_hcc.h to hip/hip_ext.h
* Deprecate hip_hcc.h
[ROCm/clr commit: dfee3ae279 ]
2019-11-07 13:17:10 +05:30
Evgeny Mankov
ecad81b794
Merge pull request #1624 from emankov/hipify
...
[HIPIFY][#1409 ] Fix for kernel launch macro expansion
[ROCm/clr commit: cf5d1caab3 ]
2019-11-05 14:04:51 +03:00
Evgeny Mankov
3889be3031
[HIPIFY][ #1409 ] Fix for kernel launch macro expansion
...
+ Add a corresponding test kernel_launch_01.cu
+ Add isBefore() check to avoid crash on Replacement with negative length
TODO:
+ Compatibility with former LLVM versions
+ More complicated kernel launch tests
[ROCm/clr commit: a1c380f38d ]
2019-11-05 14:00:13 +03:00
Aryan Salmanpour
92a06b531d
[hip][tests] Add two more workgroup sizes for testing hipLaunchCooperativeKernel ( #1613 )
...
[ROCm/clr commit: 7a3d592ed0 ]
2019-11-05 12:32:46 +05:30
Rahul Garg
2cf205bc7b
Merge pull request #1582 from amd-lthakur/hipExtMLK
...
Adding a directed test case for hipExtModuleLaunchKernel() api.
[ROCm/clr commit: 1bec1445bb ]
2019-10-31 17:13:26 -07:00
Rahul Garg
31fc374120
Formatting changes
...
[ROCm/clr commit: 07f4431de8 ]
2019-10-30 18:12:51 -07:00
Rahul Garg
5bcc1f66c5
Formatting changes ,variable name and check update
...
[ROCm/clr commit: cd1435cbc7 ]
2019-10-30 18:09:21 -07:00
Rahul Garg
04785f2d54
Merge pull request #1515 from ansurya/tex_unbind_issue_fix
...
Fix undefined ref to hipUnbindTexture for texture types
[ROCm/clr commit: aeb7cebbad ]
2019-10-30 17:54:15 -07:00
Rahul Garg
72c686ed67
Revert "Fix occupany APIs ( #1560 )"
...
This reverts commit ad1e409a24 .
[ROCm/clr commit: 27221bc823 ]
2019-10-29 11:41:08 -07:00
Evgeny Mankov
bcc9d88b20
[HIPIFY][tests] Rename the ambiguous call as well
...
[ROCm/clr commit: f68bee02f5 ]
2019-10-25 16:07:31 +03:00
Evgeny Mankov
91732f98c0
[HIPIFY][tests] Fix ambiguous call to cusparseGetErrorString declared in cusparse.h
...
[ROCm/clr commit: 9529e1d91d ]
2019-10-25 16:04:20 +03:00
Anusha Godavarthy Surya
dfa019bdf6
Merge branch 'master' into tex_unbind_issue_fix
...
[ROCm/clr commit: 9332a39838 ]
2019-10-25 15:54:25 +05:30
amd-lthakur
6bb2cba965
Excluded the test case for nvcc platform
...
[ROCm/clr commit: 626cd5d07a ]
2019-10-25 15:52:11 +05:30
Anusha Godavarthy Surya
0140ea8e1a
merge from master
...
[ROCm/clr commit: ae838f8cee ]
2019-10-25 15:52:09 +05:30
Rahul Garg
9c599a3581
[dtest] Fix hipMemset2D test ( #1579 )
...
Reverts changes made in #1399 . This is a RT api test. For testing hipMemAllocPitch , a new test should be written and that should use correct memset API.
[ROCm/clr commit: 66a3c874c8 ]
2019-10-25 15:44:05 +05:30
Anusha Godavarthy Surya
2d538b702d
Merge branch 'master' into tex_unbind_issue_fix
...
[ROCm/clr commit: c0fc5e718c ]
2019-10-25 15:36:55 +05:30
amd-lthakur
796566f156
Refactored the file as suggested
...
[ROCm/clr commit: b2238bacd4 ]
2019-10-25 10:44:38 +05:30
amd-lthakur
40c7970293
Update matmul.cpp
...
[ROCm/clr commit: 84fb936dfe ]
2019-10-25 09:22:07 +05:30
amd-lthakur
42fe3f5247
Update hipExtModuleLaunchKernel.cpp
...
[ROCm/clr commit: 9a860e6766 ]
2019-10-25 09:19:49 +05:30
satyanveshd
ad1e409a24
Fix occupany APIs ( #1560 )
...
Addresses SWDEV-205006
[ROCm/clr commit: 6c5fbf9b4a ]
2019-10-24 17:44:47 +05:30
amd-lthakur
5189d287eb
Adding a directed test case for hipExtModuleLaunchKernel() api.
...
[ROCm/clr commit: 0adcc890b0 ]
2019-10-24 15:06:28 +05:30
Rahul Garg
764135d242
Merge pull request #1559 from vsytch/win10_aligned_alloc
...
Fixes for hipMemcpy_simple on Windows
[ROCm/clr commit: 465581612e ]
2019-10-23 13:10:59 -07:00
Evgeny Mankov
0896e41987
[HIPIFY] Disable delayed template parsing
...
By implicit unconditional passing -fno-delayed-template-parsing option (which appeared in LLVM 3.8.0, thus doesn't need compatibility wrapping) to hipify-clang.
[Reason] To parse uncalled template functions otherwise they are not parsed without calling, thus not hipified.
Affects cub_03.cu test, which has uncalled global template function.
[ROCm/clr commit: 7ab06b3892 ]
2019-10-22 19:07:37 +03:00
Evgeny Mankov
82222bf945
[HIPIFY][ #1569 ] Fix
...
[ROCm/clr commit: e2191e23e6 ]
2019-10-22 11:08:37 +03:00
Evgeny Mankov
e3cf10192c
[HIPIFY][tests] Set max clang's CudaArch for corresponding CUDA major.minor version
...
[Reason] To support maximum CUDA features in offline tests
+ Add defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 600 restriction for atomicAdd on doubles in atomics.cu.
So if LLVM < 7 and --cuda-gpu-arch doesn't work, __CUDA_ARCH__ is unset too (350 by default in clang);
if LLVM >= 7 --cuda-gpu-arch is used and __CUDA_ARCH__ is set based on it.
[ROCm/clr commit: 3233a845f6 ]
2019-10-21 17:50:00 +03:00
Evgeny Mankov
665a200247
[HIPIFY][tests] Set max clang's CudaArch for corresponding CUDA version
...
[Reason] To support maximum CUDA features in offline tests
+ Add CUDA_VERSION >= 800 restriction for atomics.cu
[TODO] Find a way to use or exclude atomicAdd for doubles if LLVM < 7, because
LLVM 6.0.1 and older do not use --cuda-gpu-arch in clang's Driver code at all (option is only declared)
[ROCm/clr commit: 9fc7afa738 ]
2019-10-21 15:51:25 +03:00
Evgeny Mankov
3a45daed0a
[HIPIFY][tests] Set -I for CUDA path instead of --cuda-path for LLVM < 4
...
[ROCm/clr commit: ff6057d1ff ]
2019-10-20 20:08:56 +03:00
Evgeny Mankov
e07be75489
[HIPIFY][tests] Exclude all CUB tests if CUDA_CUB_ROOT_DIR is not set
...
[ROCm/clr commit: 5bf1ff19ff ]
2019-10-20 20:03:18 +03:00
Vladislav Sytchenko
33acfa17c1
Remove extra #endif.
...
[ROCm/clr commit: 432380aa5d ]
2019-10-18 16:40:29 -04:00
Evgeny Mankov
bb20336fa6
[HIPIFY][tests] Test clean-up
...
[ROCm/clr commit: 44a897a146 ]
2019-10-18 18:55:52 +03:00
Evgeny Mankov
85281b1d86
[HIPIFY][CUB][ #1460 ] Add "using namespace cub" translation support
...
+ Add cub_03.cu
[ROCm/clr commit: 86f6756b02 ]
2019-10-18 18:51:40 +03:00