Sean Keely
bd63a2b690
Cleanup warnings when using clang.
...
Change-Id: I09f72831e29bccdb4170c54e203872412e2f0b59
2020-12-04 22:18:14 -06:00
Sean Keely
6182abf5e9
Add asserts and minimum values for kernarg alignment and utility functions.
...
Kernel argument size and alignment queries are not supported on
code object v3.
Change-Id: I1bdd34e2e62132f912ac39d80355efd3456df87c
2020-11-21 21:39:49 -06: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
Ashutosh Mishra
4827d1d4d4
Adapting HSA Changes
...
Following Cmake changes are in accordance to the changes in HSA / THUNK , VDI etc
These have made the code compilable now both for satic as well as dynamic libs
Change-Id: I4d8d3e2b84d6e1ea00531594522111ccbce8a87b
2020-07-21 12:06:51 -04:00
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
9c9064c2b7
Correct async_mem_copy sample.
...
Peer accessibility query was not previously directed at the peer agent.
Change-Id: I259f0afac827a6e4778a56419a3acd296d00391b
2020-05-11 18:39:39 -04:00
Matt Arsenault
2e73d52ac6
Use -nogpulib in another place
...
Change-Id: I9cc1daa7db7d1f2ff07a0dbfb403dbf41f4bbffb
2020-04-28 13:46:01 -04:00
Sean Keely
a9470e3563
Correct rocrtst numa awareness.
...
Pool size was being used where alloc_max_size should be.
Changes are necessary on NUMA systems where not all nodes have
installed memory.
Change-Id: If8f507cae50a8dfeae8572d4e39df757abe28599
2020-04-17 23:43:38 -04:00
Konstantin Zhuravlyov
096e715629
Switch to llvm monorepo
...
Change-Id: Ibfe045afd811d36521486573168aecd06279ccb6
2019-12-17 22:55:20 -05: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
Mark Searles
8ea836017a
Force object code v2 until v3 is supported
...
Change-Id: I4c2a64bf9bd515686d1f1d90aece2a9ac40e5685
2018-11-21 10:06:08 -08:00
Chris Freehill
12a81ae96f
More emulator friendly tests/examples
...
Change-Id: I27ab26add14743dfb065238129c14b48913d9df8
2018-06-08 17:58:37 -04:00
Konstantin Zhuravlyov
c93584e725
ROCRTST: Add missing hidden arguments
...
Change-Id: Idd5d58749f4dd740c96299c40e87d83840b6fb2b
2018-04-02 18:19:24 -04:00
Chris Freehill
bd0c4efc34
Completely disable rocm-smi from rocrtst until rocm-smi-lib is updated
...
Change-Id: I5cce06a2bbde7a3a48e391022c793a462794c6d1
2018-02-11 21:42:25 -06:00
Ramesh Errabolu
703b1466c1
Update Copy requests involving all pools i.e. options -a or -A
...
Change-Id: I0c8d8fbb39f43cd6a1f84ae6ae32337fa9b1f5e2
2017-10-10 13:01:46 -04:00
Ramesh Errabolu
c2caa5ae2c
Benchmark copy of data from one pool to another pool either in
...
one or both directions. Users can enumerate the pools reported
by system to specify which pools serve as source / destination
Change-Id: I8e6d0adb3743b3328dd3ce9152762ca840ea613b
2017-10-04 20:53:25 -04:00
Chris Freehill
7d46a02df4
Use relative dir. instead of abs. (2nd instance)
...
Change-Id: I778a59e94efdd0845249473d92eaedd172429a48
2017-09-19 21:38:38 -04:00
Chris Freehill
2d58324ac8
Use relative path for symlink instead of absolute
...
Change-Id: I165f38df43afd554f022bb3bac54546c7bc5e806
2017-09-19 09:25:43 -04:00
Chris Freehill
b4f2e8d8f1
Remove use of tools library
...
Change-Id: I80eb95987e1e91c67bd6c3e4b12df934860940f1
2017-09-13 13:49:56 -05:00
Chris Freehill
0cb7db7d7e
Adjust CMakefile to use defines instead of env. vars.
...
Change-Id: If5e97269774416eb65ab2d6d3f9e299b950c63a4
2017-09-13 09:33:18 -04:00
Chris Freehill
80a7bdf66b
Modified to build within Jenkins
...
Change-Id: I70c9c6b690f198c41641432478343d3714e26ab0
2017-09-08 12:57:23 -05:00
Sean Keely
d6acd0edfc
Update ipc test to use IPC signals.
...
Change-Id: Id5984093de45b08261d3196cc6fc3d597324edf4
2017-08-11 17:29:55 -04:00
Chris Freehill
783a28b68c
Remove build of non-existent project
...
Change-Id: I6b2c59e67c2d2a320e705b725f8c779b9913759a
2017-08-08 10:03:36 -04:00
Chris Freehill
a12c5628ea
Added dispatch time, async copy and test template rocrtst tests
...
Change-Id: I57a844ee65c36bd61616ee6d60d358303f51db56
2017-07-17 10:30:26 -05:00
Chris Freehill
801bf4398c
Added async. mem. copy sample.
...
Change-Id: I4fbb009181056c5f293d17720214b70588d44bdf
2017-06-05 17:20:51 -04:00
Chris Freehill
1170244ae2
Added IPC sample
...
Change-Id: I980c430d6e091eb1abbc0df89ca74c96348bcd37
2017-05-31 09:47:16 -04:00
Chris Freehill
adf201d6a5
Added rocrinfo sample
...
Corrected a few formatting issues with binary_search.cpp
Change-Id: I9dcc0a231c6b8c424b44f4ab17032ff51b81a1ba
2017-05-31 09:46:06 -04:00
Chris Freehill
8161ebb915
Refactored performance test code
...
Commented and flattened binary search sample.
Change-Id: Ib783292207c956d16003195924a3bcfbbde5039f
2017-05-11 14:45:45 -04:00