Lad, Aditya
eca6c4f001
Merge branch 'master' into amd-master-next
...
Conflicts:
CMakeLists.txt
tests/src/texture/simpleTexture2DLayered.cpp
tests/src/texture/simpleTexture3D.cpp
Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119
[ROCm/clr commit: e7fdb3d796 ]
2020-03-06 14:10:44 -05:00
agodavar
79da206f97
Enable tests that are passing on hip-vdi
...
Change-Id: I7de965f7e8bb7e4d0fa61cd584f0cd118c1e212e
[ROCm/clr commit: f360ff6479 ]
2020-03-05 16:08:51 +05:30
agodavar
ac317d0029
Enable tests hipTestDeviceSymbol,hipTestConstant and p2p_copy_coherency on hip-vdi
...
SWDEV-225266: [HIP-VDI] HIP-VDI disabled tests (p2p_copy_coherency.cpp)
SWDEV-225388: hipTestDeviceSymbol.cpp & hipTestConstant.cpp failed to build on hip-vdi
For hipTestDeviceSymbol.cpp & hipTestConstant.cpp tests:
Currently "__HIP_VDI__" flag is enabled in CMakeLists.txt, but when application is compiled with hipcc,
__HIP_VDI__ is not defined to differentiate if compiled for VDI/HCC for headers.
For ./src/runtimeApi/memory/p2p_copy_coherency.cpp:
Fixed compilation issue to include only when compile for HCC runtime "<hc_am.hpp> not found"
Currently test is disabled to run on all platforms. When validated on multi-GPU machine,
memcpy between multiple GPUs via GPU synchronization is not working on hcc and vdi path.
Need to validate on nvidia machine to know if test is valid. Disabled GPU synchronization test for now.
For ./src/runtimeApi/module/hipModuleTexture2dDrv.cpp:
updated test to generate tex2d_kernel.code object in build directory. Currently ctest looks for it in build directory.
Change-Id: I629d395a919c2440d921422716944c7940ed6010
[ROCm/clr commit: ae465bc338 ]
2020-03-04 10:07:09 -05:00
Jatin Chaudhary
ee8cee7d35
[dtests] __shfl_up and __shfl_down tests ( #1899 )
...
[ROCm/clr commit: dacc90f415 ]
2020-02-28 16:48:15 +05:30
Tao Sang
0292fd9991
Temporarily comment out Hcc-specific APIs for CLang compiler
...
Temporarily comment out Hcc-specific template functions
hipExtLaunchKernelGGL and hipOccupancyMaxPotentialBlockSize for CLang
compiler so that all test cases under hip/samples can be built
successfully for Clang + Hip/Hcc runtime.
Change-Id: Iafc761257be4a7b34eafa6759a01f369570cd6ce
[ROCm/clr commit: 15b91e9f1e ]
2020-02-16 22:26:47 -05:00
Nick Curtis
e9ee5a3719
Implement long / long long shuffles ( #1829 )
...
Implement additional data-types for shuffles (long and long long).
Based upon the double implementation.
[ROCm/clr commit: 5b0f34c59b ]
2020-02-15 09:51:09 +05:30
Payam
a5fdb0c135
Excluding vdi platform for now from the following tests so we can build
...
Change-Id: I651255c2515a62c8bdfdd17a3ac85c3d66a5761b
[ROCm/clr commit: 141aa8e5dc ]
2020-02-07 02:16:05 -05:00
Laurent Morichetti
3cfd9b4f6a
Merge branch 'master' into amd-master-next
...
Change-Id: Ib7e7824073f4dfc391fb3833fc90e11b327d3c22
[ROCm/clr commit: c33903b5da ]
2020-02-05 14:56:08 -08:00
Laurent Morichetti
540a8d6337
Merge branch 'origin/pghafari/hip-vdi' into lmoriche/amd-master-next
...
Change-Id: I22c145d39f430ca571a981687bcb034ea6e3b8a2
[ROCm/clr commit: 2f1305b9a4 ]
2020-01-31 07:33:12 -08:00
Siu Chi Chan
adb93af8c3
Fix associate code object symbols with host allocation bug ( #1799 )
...
The current implementation skips this procedure for a given device
object when a global symbol is found in the cache. This is incorrect:
- There could be other undefined globals that have not been previously
encountered further down the list
- If a symbol is found in the cache, it doesn't need to be pinned again
but it still need to be defined for the current executable
Added special case for the printf buffer symbol (already pinned by HCC)
The bug was exposed by running printf on different GPUs.
[ROCm/clr commit: 8fc7cad90f ]
2020-01-24 16:22:49 +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
amd-lthakur
6c8ea45278
[dtests] Fix build issues with hipLaunchParm.cpp on windows ( #1293 )
...
* Removed unwanted #include sys/time.h , gettimeofday() and timeval variables and this also helps avavoid compilation error in windows due to gettimeofday() call equivalent of which is not available in windows
* Changed the Macro name from GPU_PRINT_TIME to MY_LAUNCH_MACRO
[ROCm/clr commit: 36977dc276 ]
2019-08-09 11:50:10 +00:00
Maneesh Gupta
74110bbd43
[hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
...
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
[ROCm/clr commit: 53dd1df3fa ]
2019-05-09 09:59:18 +05:30
Yaxun Sam Liu
51702bed29
Add default arguments for hipConfigureCall
...
[ROCm/clr commit: 02deeadaa4 ]
2018-12-18 15:48:21 -05:00
Alex Voicu
c505c2be38
Re-sync with upstream.
...
[ROCm/clr commit: 602280eb8b ]
2018-10-18 12:27:03 +01:00
Maneesh Gupta
50e89b0a30
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
[ROCm/clr commit: e1fe095471 ]
2018-10-17 14:32:25 +05:30
Alex Voicu
f3495964ea
Minimal should mean minimal.
...
[ROCm/clr commit: 217fe345ca ]
2018-10-11 00:21:41 +01:00
Alex Voicu
16b5a7c63e
Use HIP math functions, stop using hipLaunchParm.
...
[ROCm/clr commit: 031c1d574f ]
2018-10-10 11:56:54 +01:00
Alex Voicu
50388a3bd1
Re-sync with upstream.
...
[ROCm/clr commit: 9ec697c620 ]
2018-10-10 11:43:49 +01:00
Maneesh Gupta
0bae7eaad3
[dests] Fix hipTestClock, hipTestNew & hipTestGlobalVariable tests for nvcc
...
nvcc does not support global kernels in struct/class
Change-Id: I2d7297e0c3725564215e20dbdd31c0bb8d7a07de
[ROCm/clr commit: f63ffaf6e5 ]
2018-09-17 15:32:05 +05:30
Alex Voicu
f5d204450c
Align with HC Next.
...
[ROCm/clr commit: 26c26f63cb ]
2018-09-17 11:50:29 +03:00
Yaxun Sam Liu
cce9389cd5
Add HIP directed test hipTestGlobalVariable.cpp
...
[ROCm/clr commit: 41416edd14 ]
2018-08-10 08:15:36 -04:00
Maneesh Gupta
24b33ee4ef
[tests] Fixed hipLaunchParm test on nvcc path
...
- Uses c++11 features. Added it to nvcc options
- Arguments for some kernels exceeded 4096 bytes which is the limit
imposed by nvcc. Reduced BLOCK_DIM_SIZE to 512 to handle this
- Fixed compilation issues on nvcc path
Change-Id: I14f6b28afcb7c6b24a085fd707b2104e2ed64627
[ROCm/clr commit: 51307ac705 ]
2018-07-25 15:41:04 +05:30
Maneesh Gupta
2a2d857b6e
Merge pull request #568 from Srinivasuluch/sprint2_9tests
...
Adding a few more struct scenarions and a ResultValidation()
[ROCm/clr commit: e2615335c0 ]
2018-07-23 14:44:06 +05:30
Srinivasuluch
77ab2afbbb
Update hipLaunchParm.cpp
...
Added struct bit field test, test number#21
[ROCm/clr commit: 996cfcd62a ]
2018-07-20 12:38:06 +05:30
rohit pathania
b4eefc9e5c
Merge branch 'master' of https://github.com/rpathani/HIP
...
# Conflicts:
# tests/src/kernel/hipLaunchParmFunctor.cpp
[ROCm/clr commit: 6ae4df95b5 ]
2018-07-19 12:11:23 +05:30
rohit pathania
e2f3e4d67e
Merge branch 'master' of https://github.com/rpathani/HIP
...
# Conflicts:
# tests/src/kernel/hipLaunchParmFunctor.cpp
[ROCm/clr commit: c2108cb82a ]
2018-07-19 12:02:42 +05:30
Srinivasuluch
6e8b6fd5c2
Update hipLaunchParm.cpp
...
submitting changes as per Sam review/suggestions
[ROCm/clr commit: 070e992134 ]
2018-07-18 12:41:51 +05:30
srinivas Charupally
6633e4184a
Adding more struct scenarions and a ResultValidation()
...
[ROCm/clr commit: 14d4c6dc28 ]
2018-07-12 17:08:41 +05:30
rohit pathania
f6a6be4ed7
Adding functor unit tests for hip launch param
...
[ROCm/clr commit: 58b9ce3b2d ]
2018-07-10 15:23:10 +05:30
rohit pathania
3db0890b10
Adding functor unit tests for hip launch param
...
[ROCm/clr commit: 782f8613e0 ]
2018-07-09 15:08:17 +05:30
Srinivasuluch
cdad3de88d
Update hipLaunchParm.cpp
...
Changing macro name
[ROCm/clr commit: ef33a0ad4d ]
2018-06-27 22:06:53 +05:30
Srinivasuluch
cf720fbe95
Update hipLaunchParm.cpp
...
wrap up to 80 characters per line
[ROCm/clr commit: 52e808da4d ]
2018-06-27 22:04:12 +05:30
Srinivasuluch
9865b4d6e6
Update hipLaunchParm.cpp
...
changing the condition, a = b, as Sam suggested
[ROCm/clr commit: f69d89e79f ]
2018-06-27 21:48:37 +05:30
Srinivasuluch
8597d19217
Update hipLaunchParm.cpp
...
[ROCm/clr commit: 22fd883df8 ]
2018-06-27 20:49:07 +05:30
Srinivasuluch
f266afbec8
Update hipLaunchParm.cpp
...
Added a macro to disable the alignment test as it's broken
[ROCm/clr commit: 681ce0182e ]
2018-06-27 19:57:44 +05:30
Srinivasuluch
714efd908b
Update hipLaunchParm.cpp
...
pass by value for struct
[ROCm/clr commit: 52f3ec8f26 ]
2018-06-27 16:45:51 +05:30
Srinivasuluch
57eb2560f0
Update hipLaunchParm.cpp
...
Added validation part for struct, added two struct padding tests
[ROCm/clr commit: c5b643999c ]
2018-06-25 16:53:12 +05:30
Srinivasuluch
ab65bd63a8
Update hipLaunchParm.cpp
...
cleanup
[ROCm/clr commit: db67638c5a ]
2018-06-11 15:21:20 +05:30
srinivas Charupally
bceb5d6766
Adding struct test for hipLaunchKernel()
...
[ROCm/clr commit: 47835efac5 ]
2018-06-11 12:37:38 +05:30
Maneesh Gupta
46ddefedee
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/clr commit: 9e47fccc89 ]
2018-03-12 11:29:03 +05:30
Phaneendr-kumar Lanka
4571ec12ac
[nvccTests] Resubmit hipMemcpyDtoD & inline_asm_vadd
...
[ROCm/clr commit: 89bedb74e7 ]
2017-12-18 14:46:19 +05:30
Phaneendr-kumar Lanka
033e2cde33
[nvccWarnings] Fix warnings seen with dtests on nvcc path
...
[ROCm/clr commit: 0ac125e3db ]
2017-12-14 14:10:37 +05:30
Maneesh Gupta
9498ff3cae
Merge pull request #265 from phani544/nvccTests
...
[nvccTests]Enabled inline_asm_vadd on nvcc
[ROCm/clr commit: 29c0ab8401 ]
2017-11-20 07:28:29 +05:30
Ben Sander
809f575305
Fix test on cuda
...
[ROCm/clr commit: aeadc3f18f ]
2017-11-19 15:31:02 -06:00
Alex Voicu
af0ae5421c
This implements the trivial change needed to move back from the hip{Something}_{x, y, z} macros to the natural CUDA syntax of Something.{x, y, z}. This is contained in lines 384-404 in hip_runtime.h. All of the other changes have to do with changing unit tests to use this syntax. The macros are retained for backwards compatibility.
...
[ROCm/clr commit: 0cc921f103 ]
2017-11-19 01:54:12 +00:00
Phaneendr-kumar Lanka
3bfe30e22c
[nvccTests]Enabled inline_asm_vadd on nvcc
...
[ROCm/clr commit: 9fa3ed4f6f ]
2017-11-14 16:37:59 +05:30
Alex Voicu
41045dd24d
This corrects some interesting choices that were present in the HIP
...
unit tests such as e.g. de-allocating memory allocated with new[] using
free. All of these were identified via cppcheck.
[ROCm/clr commit: 58a18eaf0c ]
2017-11-01 22:51:22 +00:00
Siu Chi Chan
9997997fe5
add an unit test for printf
...
[ROCm/clr commit: f1992c5b11 ]
2017-10-23 18:31:13 -04:00
Ben Sander
be21cd1a91
Update tests.
...
Fix some NVCC issues.
Add hipStreamSync2, record_event tests.
[ROCm/clr commit: 863b7c3f56 ]
2017-06-04 20:18:37 -05:00