Sean Keely
7ab0d786c2
Disable warnings as errors for rocrtst.
...
Change-Id: Ibe76c4c7f20fc0273dd02038477e7f9fc7800a3d
2022-03-11 17:55:55 -05:00
Yifan Zhang
2f97f17df9
add gfx1036 support
...
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com >
Change-Id: I075779b1369fde759c29572fa2027a3748d6ed4c
2022-03-05 13:16:19 +08:00
Sean Keely
402eae11b6
Correct rocrtst cmake.
...
Generates symlinks exactly once.
Admits parallelism to code object compilation.
Adds proper dependency tracking.
Adds code object files to the packages.
Change-Id: If471961906f16a2ffdc6bf5f682a4e322fb38f3e
2021-10-18 11:10:50 -04:00
Xiaomeng Hou
9597fe3ae5
Add gfx1035 to rocrtst.
...
Change-Id: I276942b8badfd5ee2914e78c6c140d80d7cf4b2d
2021-10-11 02:31:45 -04:00
Sean Keely
8d789461bf
Add gfx1013 to rocrtst.
...
Change-Id: I49c4aafc661d7c2ba6fd6baa006bf698b0af5274
2021-09-14 22:55:43 -04:00
Sean Keely
7512c32f69
Add emulator build notification to rocrtst.
...
Change-Id: I3eb5fd5ec26541f3459aebf289d25c942f09da02
2021-08-13 16:46:26 -05:00
Sean Keely
2c35469617
Provide hwloc dependency.
...
Some distros do not provide the proper hwloc version for rocrtst.
This packages the required version.
Change-Id: Iebc68250c33f309d6b50e850a0553685bac50563
2021-07-26 23:56:14 -04:00
Aaron Liu
4032070c3e
Add gfx1035 for yellow carp
...
Signed-off-by: Aaron Liu <aaron.liu@amd.com >
Change-Id: I1e3e44352b5825fc0f249c39aed703d4990995ca
2021-07-22 13:48:31 +08:00
Chris Freehill
8cb686fdc5
Add gfx1034 support
...
Change-Id: I2d4bfcb9012704daf7de10739c966827bd2a09e2
2021-05-25 16:43:16 -05:00
Tony Tye
a97c14abea
Add support for gfx909 and gfx90c
...
Change-Id: I88158789cdda44a173e3ca26d2c96b8e0ea0e221
2021-04-08 22:37:30 +00:00
Sean Keely
7333c77e22
Squash merge of cfreehil/amd-temp-gfx90a onto amd-staging.
...
Includes some workarounds and HMM.
Conflicts:
opensrc/hsa-runtime/core/runtime/amd_topology.cpp
opensrc/hsa-runtime/core/util/flag.h
Change-Id: I22976f07964a43dbb228a6231777dbd599112b8d
2021-04-02 02:10:15 -04:00
Chris Freehill
82b2dbe495
Don't overwrite default CMAKE_CXX_FLAGS in tests & samples
...
Change-Id: I4a2bb0bcc320fb0645e9fc5447775e6a878b960b
2021-03-17 21:25:18 -05:00
Kent Russell
9311789398
rocrtst: Add packaging information to CMakeLists
...
This will create a deb and an rpm for rocrtst to make installing and
running it easier for non-ROCr devs.
Signed-off-by: Kent Russell <kent.russell@amd.com >
Change-Id: I506baedc1471482e5808139cab5c28ae07ac8fb1
2021-02-24 12:22:31 -05:00
Huang Rui
554ed5e76d
Add gfx 10.3.3 into rocrtst list
...
Change-Id: I854e5092236175e47a2134d703f154885cae8c3e
Signed-off-by: Huang Rui <ray.huang@amd.com >
2021-01-22 04:22:15 -05:00
Sean Keely
d39ae13420
Add support for gfx1032.
...
Change-Id: I36f93a6b61e74cf17aac1a05d7c1d4ba6369fcc9
2021-01-05 17:28:19 -06:00
Sean Keely
bd63a2b690
Cleanup warnings when using clang.
...
Change-Id: I09f72831e29bccdb4170c54e203872412e2f0b59
2020-12-04 22:18:14 -06:00
Tony
b443397bcc
Make supported targets consistent
...
Add missing target names and make all parts consistent with which
targets are supported.
- Add gfx805 as a supported target.
- Add all ELF targets to genric code.
- Make offline loader match supported targets.
Change-Id: Idab4d69edc71645aecaa83aa55e29c1aeee4c1d6
2020-11-24 03:14:31 +00:00
Konstantin Zhuravlyov
3a08d0964e
Implement Target ID Proposal
...
Changes from Konstantin Zhuravlyov, Tony Tye
Change-Id: I532801193afa9d5b8ac2a877b5497eab661f0597
2020-11-10 13:42:35 -05:00
Arun Sunil
8d00f1aa59
CMakeLists.txt: Fix issue with rocrtst
...
Fix for issue where rocrtst could not be built if out directory
was outside the src (WORK_ROOT) directory due to hard-coded
relative path for OPENCL_INC_DIR.
Change-Id: Icb93de2266d568e9c2437166e34c88ec526fb45c
2020-10-13 18:14:26 -04:00
Chris Freehill
4944c74189
Add gfx1031 support
...
Change-Id: I855f7fe8d096331d0c1da10b10adf6b1e75a527f
2020-09-10 11:06:58 -04:00
Sean Keely
1d919adc75
Add gfx1030 to image blit kernel build list.
...
Change-Id: I2ddb6a595bb7ca5f6a94f38f8ecc2e40831c52fd
2020-08-12 16:38:39 -05:00
Ashutosh Mishra
d13342d03a
Adapting HSA Changes
...
Using mordern cmake changes for rocrtest in accordance with the
recent changes in HSA. These changes also make sure that tests
can be compiled both for static as well as dynamic libs
Change-Id: I6dfb5259a4cbd994f413f68d1ebadc2ba5fe4f34
2020-07-24 17:15:12 +05:30
Aaron Enye Shi
d23b26f760
Update to use new bitcode library structure
...
Rather than manually linking to the device libraries, the compiler
can now handle linking with them. Allow the build to continue using
old layout if the build system still uses it. Therefore maintain
compatibility with ROCm 3.7 and earlier.
Change-Id: Ida81775da3d0f7c2c67386a71cb057ede31a1545
2020-07-14 15:55:08 -04:00
Sean Keely
e25ae1263b
Remove references to finalizer header.
...
Change-Id: I6608c95268ab4bc66053d889cf7d5a30cd8fccab
2020-04-17 23:50:23 -04:00
Ramesh Errabolu
7434fa14d4
Extend RocrTst to query UUID of ROCm devices
...
Change-Id: I6c9fa9751c893ba119e8b7a2808a8ab2aebeba3b
2020-04-16 21:29:32 -04:00
Chris Freehill
f5e86a8f14
By default, don't collect rsmi monitor values
...
Change-Id: I4946efadcb9c5ececead1b4c40b73adc5ceca957
2020-02-14 18:06:19 -05:00
Konstantin Zhuravlyov
096e715629
Switch to llvm monorepo
...
Change-Id: Ibfe045afd811d36521486573168aecd06279ccb6
2019-12-17 22:55:20 -05:00
Chris Freehill
4c22962024
Import PAL version of addrlib with initial gfx1xxx support
...
Change-Id: I439930a5cbf5b13a359ec164e75c6828af8c668d
2019-12-12 21:38:01 -06:00
Sean Keely
f62017f4a5
Correct clang paths for incremental builds.
...
We should be using bin/clang, not the build/lightining/bin/clang since
build/ is the project's internal build directory. This patch corrects
this where possible.
However, lightning does not install all it's end user files under out/
so some headers can not be found anywhere in out/ in an incremental build.
This header (opencl-c.h) if fetched out of the lightning source tree if
necessary.
Change-Id: I083d8b27bb39dd615fba3bb0711a789318f95e77
2019-11-16 03:10:28 -06:00
Chris Freehill
53228ad819
Add some gfx1xxx targets
...
This is to fix
Change-Id: I69a87884d8174733905e4c007cf0f19b5103482a
2019-10-16 09:01:22 -04:00
Sean Keely
324e0e5e0a
Correct ROCr library path in rocrtst.
...
Change-Id: I3624f37e256a0b61f55b1eb1ae48dabd87481b5f
2019-08-23 19:29:30 -04:00
Chris Freehill
2c15bcac9d
Add ISAREG entry for gfx908 for ECC not supported
...
* Also, re-enable rocrtst
Change-Id: I70106c5a1788818387e46f240d577cbe59bc89f4
2019-07-22 21:50:09 -04:00
Sean Keely
4fafdcb00c
Add deallocation callback test to rocrtst.
...
Change-Id: Ia20abd8f1f64213eea0c3c1c771cc229cf38fd5d
2019-07-19 14:17:21 -04:00
Chris Freehill
d699039284
Make build_rocrtst.sh build all target kernels by default
...
This will allow the default target list to be branch
specific.
Change-Id: If8ecc14e2b7fb5ed2eb25ab447480308d539b248
2019-07-05 19:30:07 -04:00
Chris Freehill
8caa6c0b01
Temporarily disable Debug test
...
Change-Id: Iabb238fcd78b9c2eb0c085b19ab93b8c9e538140
2019-06-29 04:55:35 -04:00
Chris Freehill
081a2cc875
rocrtst fixes for hsa_signal cleanup and aql packet dispatch
...
In several places aql packets were written to queue all at once
instead of doing the header atomically. These cases have been
fixed.
There were a few hsa_signal leaked that have been addressed.
There was some duplication of code that has been addressed.
Addresses ROCMOPS-456
Change-Id: Ia1869bc370f92e49ac560301df47741d5f76978e
2019-06-21 17:34:10 -05:00
Chris Freehill
259a1bac18
Temporarily disable some failing tests
...
Change-Id: Iee713bb963db812c36ce2568aee2a4f8409c52e5
2019-06-14 08:36:11 -05:00
Chris Freehill
68c202de1f
Re-enable RSMI call using updated API prototype
...
Change-Id: Ifc8fa35708fea05cbc8a9bea727a6d4c9d2ecea7
2019-03-18 23:18:42 -05:00
Chris Freehill
7b3537cf44
Temporary disable of rsmi call due to api change
...
Change-Id: If73f31c5fbe4bcd34f8e52a5109a6fbfff70b5e1
2019-03-16 21:05:47 -05:00
Chris Freehill
626f13a88b
Fix async memory test; temporarily disable NUMA memory test
...
Change-Id: I1c0618f5dba513c1cf8fafb5fc64e5c811df8454
2019-01-31 09:14:54 -05:00
Mark Searles
8ea836017a
Force object code v2 until v3 is supported
...
Change-Id: I4c2a64bf9bd515686d1f1d90aece2a9ac40e5685
2018-11-21 10:06:08 -08:00
Chris Freehill
c1fbd8aa54
Use 64 suffix for rocm_smi lib name
...
Change-Id: Idab0f5576f830657afb6bf26e1d88b18244431cb
2018-08-20 08:05:31 -05:00
Chris Freehill
65c3cf27f5
Use the new name of the rocm_smi library
...
Change-Id: I7358b7b819826f1d3d3b0ca99fc5fd1a4e6d9536
2018-07-13 11:46:49 -04:00
Chris Freehill
06759fed5f
Undo temporary work-around for RSMI change
...
Change-Id: I9bf144add951c95e4eebc8647bffb71d13f4f612
2018-07-09 08:46:57 -05:00
Chris Freehill
ae0c852074
Temporary work-around for RSMI change
...
Change-Id: If4913d5d0cdb0415569c75ab312c39b4253cd4fa
2018-07-07 22:57:42 -05:00
rohit pathania
6df6ef778d
Kernel group memory dynamic allocation, basic allocation and free test
...
Change-Id: I17fdb77f17567ac1b429d9a571cac70ac1e64dd4
2018-06-15 10:49:10 +05:30
rohit pathania
d8e47ba115
Modified memory atomics on non Large bar system and pool info test memcmp issue fix
...
Change-Id: I951fdb6c91508f43b1c51f7eb92870543fc58e53
2018-06-11 18:49:29 +05:30
Chris Freehill
12a81ae96f
More emulator friendly tests/examples
...
Change-Id: I27ab26add14743dfb065238129c14b48913d9df8
2018-06-08 17:58:37 -04:00
Chris Freehill
8a6f0d6b24
Disable Signal tests
...
They are breaking Jenkins builds.
Change-Id: I1647049abee0ebc2a4751e66d9ceed56cadc4c3e
2018-06-08 15:47:09 -04:00
srinivas Charupally
f0a1b310fd
Adding Signal Kernel tests
...
Change-Id: Ie34de41741a7c4731a0ff3761e940971b6f08745
2018-06-06 16:25:18 +05:30