Gráfico de commits

6093 Commits

Autor SHA1 Mensaje Fecha
Tao Sang a2fdc8cfbd SWDEV-295381 - Fix hipSimpleAtomicsTest
Fix hipSimpleAtomicsTest failure on amd and nvidia devices.

Change-Id: I43b23384ab70129ccd7f41204f796105576cd605
2021-07-15 20:45:51 -04:00
Jatin Chaudhary b337a5586b SWDEV-283267 - Add rtc document and remove hip header from tests
Change-Id: I43a23384ab70128ccd7f41204f796105576cd604
2021-07-14 11:00:38 -04:00
Rupam Chetia 1b53e0c51c SWDEV-230423 - [dtest] Adding Stress tests.
http://ontrack-internal.amd.com/browse/SWDEV-230423

1. Moving stress folder from hip/test/src to hip/test.
2. Adding Stream stress tests.
   These stress tests create multiple streams and launches kernel on them
   in multiple combinations for 100000 iterations. These tests will test
   the stability of streams created using hipStreamCreate, hipStreamCreateWithPriority
   and hipStreamCreateWithFlags.
3. Adding printf stress tests using simple kernels.
4. Adding printf stress tests using a complex kernel.

Change-Id: Idcd26707fb9504ab8dbe6cebcbb32ade61bf1483
2021-07-14 04:40:30 -04:00
Anusha GodavarthySurya 6e7ea5b612 SWDEV-240806 - Added Implementation for few more graph APIs
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06
2021-07-14 01:58:03 -04:00
DURGESH KROTTAPALLI b77fe6cc9f SWDEV-292393 - [catch2][dtest] hipMemcpy2D related dtests to catch2 framework
Migrated functional and negative scenarios of
hipMemcpy2D and
hipMemcpy2DAsync APIs to catch2 framework

Change-Id: I339f0914cc76fee194fff53dd9686b0c16d85af9
2021-07-14 00:04:27 +05:30
DURGESH KROTTAPALLI aa6b01f793 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy3D and hipMemcpyParam2D APIs
Added functional and negative scenarios for
    hipMemcpy3D and
    hipMemcpyParam2D APIs in catch2 framework

Change-Id: I3473eb952c23aba6bc500d78ca93d52a9f7a5d6f
2021-07-13 12:22:43 -04:00
sumanthtg 6a8fd2b762 SWDEV-238517 - [dtest] Catch2 multiprocess tests for device files.
Changes contain Catch2 device multiprocess tests which were covered under "hip/tests/src/runtimeApi/device" and some additional tests. These test files makes use of fork call or sets visible devices env variable and validates various device aspects.

Change-Id: Iaaca37598d386104da9e5f37f92ab176bc8a2845
2021-07-13 08:42:41 -04:00
German Andryeyev a20ad647ea SWDEV-293583 - correct a typo in hipStreamAttachMemAsync
Change-Id: Ib9c634053a152353ae657a00fea4b072a824c5ba
2021-07-12 12:40:14 -04:00
DURGESH KROTTAPALLI 48c2a0fb27 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpyPeer and hipMemcpyPeerAsync APIs.
Added functional and negative scenarios for
hipMemcpyPeer and
hipMemcpyPeerAsync APIs

Change-Id: Ibaee0d84cb616727dc5db057bb9422702670b686
2021-07-09 01:06:30 -04:00
Anusha GodavarthySurya 9c9b62f0b8 SWDEV-240806 - Enable graph test on nvidia platform
Change-Id: Ia196dd7c650693155f786871671aec4dda0e886f
2021-07-08 23:27:20 -04:00
Tao Sang 818aa18d59 SWDEV-292273 - Add cmake tests
Add test on CXX and Fortran build in cmake.
Add test on hip::device interface linking in cmake.

Change-Id: I3fe6dba05a7a140a9a19df107b7885df83d28042
2021-07-08 12:51:46 -04:00
DURGESH KROTTAPALLI edb1a96cdb SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy2DToArray and hipMemcpy2DToArrayAsync apis.
Added functional and negative scenarios for hipMemcpy2DToArray and
hipMemcpy2DToArrayAsync APIs

Change-Id: I97331a587fb1d51583faeec998cdb4ac09bfa564
2021-07-08 04:22:43 -04:00
Anusha GodavarthySurya 4025725ed6 SWDEV-240806 - updated hipMemcpyKind in nvidia tyes from enum to typedef
Change-Id: Id6a100257d47211cc9868ba84a2964302e4f069c
2021-07-08 02:54:36 -04:00
agunashe d529637fbc SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Satyanvesh Dittakavi 966741a0b3 SWDEV-293819 - Fix HIP Directed tests build failure
- add std=c++11 to the g++ test hipMalloc.cpp to avoid failure on centos
- Also, enabled gcc test hipMalloc.c on amd platform

Change-Id: I3ff6dba05a70140a9a19df107b7885df83d28041
2021-07-07 06:28:17 -04:00
Satyanvesh Dittakavi f5703d57cd SWDEV-292618 - Enable/Fix more dtests on Nvidia Platform
Change-Id: I0fdac4ddefa693674dfce66ba29306f34ad886c9
2021-07-07 03:23:42 -04:00
pghafari d0c1be0db6 SWDEV-245531 - GLInterop: Add Buffer Interop api
Change-Id: Iddb0bb2a232e97d9071320244adc360bd7d011b5
2021-07-06 10:06:33 -04:00
cjatin 5cb9a06278 SWDEV-289409 - Batch 2 of device tests
Change-Id: I3976b5565bf040e77196ca797afb3f71f0e81d6c
2021-07-06 02:42:14 -04:00
Sarbojit Sarkar c74bff1d2f SWDEV-291783 - Catch2 tests for some of Stream APIs
Change-Id: I656fc59184863ef142cf89d7541982492f6b8484
2021-07-01 01:02:06 -04:00
jujiang fec4b0fa91 SWDEV-288929 - Add Direct Dispatch HIP doc
Change-Id: I083ce53d0d67b20a621a94ca25e5f9032d69b30a
2021-06-30 16:51:57 -04:00
Satyanvesh Dittakavi 57569c62f4 SWDEV-292618 - Enable/Fix few of the dtests on Nvidia Platform
Change-Id: I6f4e37b293aac9054a768f9d692b914f52d42756
2021-06-30 01:23:29 -04:00
jujiang 4eb7490530 SWDEV-286322 - add command line need to run in comment
Change-Id: I8489eb79ce781161415e7d5a461f20b74b9314cd
2021-06-29 10:34:20 -04:00
Anusha GodavarthySurya 4903b0d834 SWDEV-290637 - Migrate cmake build from hip to hipamd
Change-Id: I31baef5a76ea0721927598615794437999ec195e
2021-06-28 06:23:41 -04:00
Sarbojit Sarkar 341de7b12e SWDEV-292449 - Bump version to 4.3
Change-Id: Ia425cdf0d9c030894a180fda5a786240e19dcbcc
2021-06-26 05:53:45 -04:00
Sarbojit Sarkar f59c5548ed SWDEV-284435 - Fixed latest CUDA Drv support doc
Change-Id: Iba172236c4816fdc5c5caad763be0a9fd51e6f58
2021-06-25 12:20:11 -04:00
Anusha GodavarthySurya b49118dc2f SWDEV-290637 - Update tests to use current directory CMAKE_CURRENT_LIST_DIR instead of HIP_SRC_PATH to build from hipamd repo
Change-Id: Ide04d9f7b1fc43b475d985a6dce0aa1bd2ec00da
2021-06-25 01:01:16 -04:00
Aaron En Ye Shi fdbb8f10bd SWDEV-286884 - Add CMake hiprtc-builtins library generation part 2
Add libhiprtc-builtins library to packaging/hip-rocclr.
Depends on part 1 patch to compute/ec/hipamd.

Change-Id: I366d7f1868c868f5d6b02363c7e78ff399e06b19
2021-06-24 18:04:22 +00:00
Jatin Chaudhary 23f6977e49 SWDEV-289409 - Add libstdc++fs to unit test exe
Change-Id: Id668cd450f032a57d880270188cecf6950b69f40
2021-06-24 04:18:53 -07:00
cjatin 456af4ea39 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb
2021-06-23 00:51:50 -07:00
Anusha GodavarthySurya 7c5afff964 SWDEV-240806 - Enable hipgraph test on amd platform
Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb
2021-06-22 01:41:25 -04:00
Aaron En Ye Shi 7a43de757e SWDEV-263964 - hip version check for hipcc or clang++ only
If the user decides to use a non-hipcc or non-clang++
compiler, we should skip the version checking.

Change-Id: I1424585c606ec0c63103f512161eb88cac27d71d
2021-06-21 18:14:09 +00:00
Julia Jiang 8169c4d047 SWDEV-286322 - Add filter attribute
Change-Id: I8b82ab254535f53435cbcb8672e70c7b7d44b5b1
2021-06-21 13:56:05 -04:00
Jatin Chaudhary b21882ac59 SWDEV-277697 - Disable Saxpy test in catch
Change-Id: I9ca0ac1baa39ea31fa503c01ca8d362b6b0626a9
2021-06-21 10:59:42 -04:00
Julia Jiang 3f503283e1 SWDEV-288929 - Add hiprtc support in programming guide
Change-Id: I22d69801bbb36b610c855657a7248c24b9981b80
2021-06-18 19:57:16 -04:00
Aaron En Ye Shi a6d568b9ca SWDEV-291481 - Port hipcc.bat and hipconfig.bat
Add the hipcc.bat and hipconfig.bat files previously
only residing in P4 to CMake builds. Ship this .bat
file as part of bin directory on Windows.

Change-Id: I2822e1419f1f6a0a6cdde9e292231995a83df77d
2021-06-18 18:54:37 +00:00
Tao Sang f70b109cc3 SWDEV-291009 - Fix LaunchCoopMultiKernel on NV
Fix compiling error of hipLaunchCoopMultiKernel on
NV A100.
Fix test failure on all NV devices.

Change-Id: Iba20caa0e9021480378625506197384c275a3289
2021-06-18 09:07:17 -04:00
Maneesh Gupta 25ed6bc573 SWDEV-291578 - Fix includes to match filename change
Change-Id: Ie88ff30df6135cf13e86f163ba41dba8ed9d0c87
2021-06-18 02:01:30 -04:00
Rahul Garg a5b276d5ac SWDEV-288707 - Remove amd_detail from hip
Change-Id: Ib99e1544a1074304819e12bc18480dc1519efbbd
2021-06-18 01:10:50 -04:00
Maneesh Gupta 238595de9c SWDEV-291578 - SWDEV-291581 - Fix packaging scripts
Change-Id: I0b3e2134aea631bcc0b5f24d382733b04f7d1a77
2021-06-17 23:20:53 -04:00
Aaron En Ye Shi abebb6fe21 SWDEV-269027 - Add HIP Clang repo, branch, and patch level to HIP cmake config
Adding hip-config.cmake variables HIP_CLANG_REPO,
HIP_CLANG_BRANCH, and HIP_CLANG_PATCH_LEVEL. These
are extracted from either hipcc or clang++ --version
output.

Change-Id: I5386b71160d592d95d1867e0b563e91514b1b84b
2021-06-17 20:28:29 +00:00
Sarbojit Sarkar b06b1689fc SWDEV-288036 - Added gfx90a in default support list
Change-Id: Ie25466f1d762f05d7b0e5dfe2e4881e9db695260
2021-06-16 23:49:09 -04:00
Tao Sang 87ba31e596 SWDEV-291011 - Fix ModuleLaunchKernel on NV
Should not add extra for non-parameter dummyKernel()
in hipModuleLaunchKernel()

Change-Id: If6f881ebb027bd3e8435d3de5295b00277e96a6a
2021-06-16 11:52:38 -04:00
Maneesh Gupta b01fb5d72f Revert "SWDEV-288593 - hip-config only adds compile and link options to C++"
This reverts commit 641514cdb1.

Reason for revert: Need to rework this to support older cmake releases as well.

Change-Id: I95dd2311c0166656099229128ed5344eb761942e
2021-06-16 00:29:56 -04:00
Tao Sang fd50af8c77 SWDEV-291001 - Disable sincos() for NV
Disable sincos() for NV temporarily in order
to prevent kernel launch failure for NVA100.

Change-Id: Ic9ec976c5c486c4e1d3b83e1578081673f97efa3
2021-06-15 13:31:20 -04:00
Aaron En Ye Shi ff97848c63 SWDEV-286884 - Temporarily remove installing hiprtc-builtins
To allow committing a patch into compute/ec/hipamd,
temporarily remove this library from package, and add
back in cmake hiprtc-builtins patch.

Change-Id: I8e448a669e796d4c321fcf8a6fe2dc5773743de3
2021-06-15 13:20:18 -04:00
Jatin Chaudhary 6311c3251b SWDEV-277697 - Fix issues with nvcc + catch2
Change-Id: If9be2d7d6a635964ee0abf8ffa9d948b734864f1
2021-06-15 12:33:20 -04:00
pghafari 56f90df89e SWDEV-245531 - GLInterop: Add Buffer Interop support
Change-Id: I97ed7366d3cecafc2f621894258ecf8ab0d26612
2021-06-14 20:36:55 -04:00
pghafari ba37ac4801 SWDEV-245531 - GLInterop: Add Buffer Interop support
Change-Id: Ida6fdc20535d1964e888aa3cd0864c5979c4973b
2021-06-14 11:08:56 -04:00
Nick Curtis 6d20ee19c7 SWDEV-290252 - Fix for incorrect call to ar in mixed shared / static link
Corrects an invalid call to 'ar', which results in link failures for mixed shared
and static link invocations using hipcc.

Change-Id: I51c33438106af066a13e5ff9533721cdc326790d
2021-06-14 04:20:45 -04:00
Scott Linder 17c3469cf6 SWDEV-229776 - Add bin/roc-obj
Change-Id: If4449d7c47b72e437aaca71ae64ea37d202e2b18
2021-06-11 16:29:20 -04:00