Commit Graph

13501 Commits

Author SHA1 Message Date
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
Felix Kuehling 8afdf52001 kfdtest: Change PM4 dispatch to workaround GWS-related FW problem
v2: Remove useless AcquireMem packet after the dispatch
v3: Minimum poll_interval is 4

Change-Id: I352eb21c781ed9e03d62c0febd532da6a9854afa
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2019-11-15 15:27:21 -05:00
Felix Kuehling 0b7fcadc63 kfdtest: Add PM4WaitRegMemPacket
v2: optimize_ace_offload_mode=1, recommended by firmware team

Change-Id: Ia54e37242b4eaaf631c35e61a59f03ee0f85ca35
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2019-11-15 15:27:21 -05:00
Evgeny 6b43179cff cosmetic change
[ROCm/roctracer commit: 44b5860b0e]
2019-11-15 12:35:28 -06:00
Evgeny 44b5860b0e cosmetic change 2019-11-15 12:35:28 -06:00
Yong Zhao a4d570fa2b kfdtest: Expand KFDQMTest.MultipleCpQueues to cover all CP queues
Because of that, rename the test to AllCpQueues.

Change-Id: I57105f863db2558e850c703d151ffebcce2c7a17
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-11-15 08:25:14 -05:00
Huang Rui fdba74c2fb libhsakmt: add gfx90c support for thunk
This patch adds the support for gfx90c apu. So far we treat it as "dgpu" and
gfx900. Will update hsa gfxip table while the isa/llvm is implemented on gfx90c.

Change-Id: I6ef164bf3e751fe6dd6287cac212a500dce84b1a
Signed-off-by: Huang Rui <ray.huang@amd.com>
2019-11-14 20:02:53 -05:00
eshcherb 4144383bcd Update README.md
[ROCm/roctracer commit: 504b7b26c6]
2019-11-14 10:13:42 -06:00
eshcherb 504b7b26c6 Update README.md 2019-11-14 10:13:42 -06:00
eshcherb 3533523133 Update README.md
[ROCm/roctracer commit: e16afba208]
2019-11-14 10:13:08 -06:00
eshcherb e16afba208 Update README.md 2019-11-14 10:13:08 -06:00
Evgeny e3302e07a6 update: dlopen of target runtimes with NOLOAD; enabled KFD domain in explicite test
[ROCm/roctracer commit: f2b6a6b35c]
2019-11-13 11:57:17 -06:00
Evgeny f2b6a6b35c update: dlopen of target runtimes with NOLOAD; enabled KFD domain in explicite test 2019-11-13 11:57:17 -06:00
Philip Cox 6742e585be kfdtest: Enable kfd debugger tests on gfx10
Change-Id: If3f86624c76805a6bc0e154d31b957eb63120418
Signed-off-by: Philip Cox <Philip.Cox@amd.com>
2019-11-13 08:29:46 -05:00
eshcherb ef8e18a97c Merge pull request #27 from rkebichi/rkebichi-rem-macro
Remove KFD_WRAPPER macro

[ROCm/roctracer commit: a11eb168a5]
2019-11-12 17:22:27 -06:00
eshcherb a11eb168a5 Merge pull request #27 from rkebichi/rkebichi-rem-macro
Remove KFD_WRAPPER macro
2019-11-12 17:22:27 -06:00
Rachida Kebichi 25120da7e7 change permission to x
[ROCm/roctracer commit: 19ad236bcf]
2019-11-12 18:06:34 -05:00
Rachida Kebichi 19ad236bcf change permission to x 2019-11-12 18:06:34 -05:00
rkebichi f5e881b45f Update tracer_tool.cpp
[ROCm/roctracer commit: 3aa084a248]
2019-11-12 17:29:43 -05:00
rkebichi 3aa084a248 Update tracer_tool.cpp 2019-11-12 17:29:43 -05:00
rkebichi b552590b08 Update MatrixTranspose.cpp
[ROCm/roctracer commit: 475b3619d5]
2019-11-12 17:28:30 -05:00
rkebichi 475b3619d5 Update MatrixTranspose.cpp 2019-11-12 17:28:30 -05:00
rkebichi a9a4d5ef9a Update CMakeLists.txt
[ROCm/roctracer commit: f0b49ac122]
2019-11-12 17:27:33 -05:00
rkebichi f0b49ac122 Update CMakeLists.txt 2019-11-12 17:27:33 -05:00
rkebichi a64288c470 Update roctracer.cpp
[ROCm/roctracer commit: e57a2125d7]
2019-11-12 17:26:52 -05:00
rkebichi e57a2125d7 Update roctracer.cpp 2019-11-12 17:26:52 -05:00
rkebichi 10b8dc0808 Update CMakeLists.txt
[ROCm/roctracer commit: e177ff2c1f]
2019-11-12 17:24:57 -05:00
rkebichi e177ff2c1f Update CMakeLists.txt 2019-11-12 17:24:57 -05:00
rkebichi 4e7af87130 Update env.cmake
[ROCm/roctracer commit: ad5080dabc]
2019-11-12 17:23:41 -05:00
rkebichi ad5080dabc Update env.cmake 2019-11-12 17:23:41 -05:00
rkebichi 43da369b87 Update CMakeLists.txt
[ROCm/roctracer commit: 719e2a42c8]
2019-11-12 17:14:23 -05:00
rkebichi 719e2a42c8 Update CMakeLists.txt 2019-11-12 17:14:23 -05:00
Laurent Morichetti 5774d9162b Fix a typo in INSN_S_ENDPGM_OPCODE encoding.
The correct s_endpgm instruction encoding is 0xBF810000.

Change-Id: I03f304762dcaced5bf3fa4f069da7a0b287d1cd2
2019-11-12 11:54:17 -08:00
Evgeny eb91969f0e fixing test with conditinoal kfd wrapper compilatipn
[ROCm/roctracer commit: 86dbe20e82]
2019-11-12 12:35:35 -06:00
Evgeny 86dbe20e82 fixing test with conditinoal kfd wrapper compilatipn 2019-11-12 12:35:35 -06:00
eshcherb 0ce0446c11 Merge pull request #19 from rkebichi/rkebichi-patch-kfd-1
Rkebichi patch kfd 1

[ROCm/roctracer commit: 415cab134c]
2019-11-12 10:17:11 -06:00
eshcherb 415cab134c Merge pull request #19 from rkebichi/rkebichi-patch-kfd-1
Rkebichi patch kfd 1
2019-11-12 10:17:11 -06:00
rkebichi b69f83d9f8 Update gen_ostream_ops.py
[ROCm/roctracer commit: d4014f5d44]
2019-11-12 09:55:46 -05:00
rkebichi d4014f5d44 Update gen_ostream_ops.py 2019-11-12 09:55:46 -05:00
eshcherb 69076632d9 Merge branch 'amd-master' into rkebichi-patch-kfd-1
[ROCm/roctracer commit: 2bcf1c5554]
2019-11-11 19:05:50 -06:00
eshcherb 2bcf1c5554 Merge branch 'amd-master' into rkebichi-patch-kfd-1 2019-11-11 19:05:50 -06:00
Evgeny dc05345a78 setting of granulated lds, sgpr, vgpr reserved by HW for the kernel
Change-Id: Ib3e60c0b97787f56f769136480a46a8560e00cc8
2019-11-11 18:11:16 -05:00
Evgeny c34655f1ff setting of granulated lds, sgpr, vgpr reserved by HW for the kernel
Change-Id: Ib3e60c0b97787f56f769136480a46a8560e00cc8


[ROCm/rocprofiler commit: dc05345a78]
2019-11-11 18:11:16 -05:00
Evgeny b9989fb33c profiled cmd line quoting option
Change-Id: I576065eb289b59829978c7a2acf74799b68bc213
2019-11-11 18:10:57 -05:00
Evgeny 0ebce35b1b profiled cmd line quoting option
Change-Id: I576065eb289b59829978c7a2acf74799b68bc213


[ROCm/rocprofiler commit: b9989fb33c]
2019-11-11 18:10:57 -05:00
Chris Freehill 8ffe1bc7f6 Merge "Make dpkg and rpm package names match their file names" into amd-master 2019-11-09 14:27:17 -05:00
Yong Zhao 4b36a1e728 kfdtest: Rename KFDQMTest.MultipleSdmaQueues to AllSdmaQueues
The test actually tested all available SDMA queues, so change the name
to reflect the fact.

Change-Id: Ia23df3e5ac79b692b0b60194b05603ba8dd897a4
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-11-08 19:00:37 -05:00
Chris Freehill c926d50c3a Make dpkg and rpm package names match their file names
For example,
$ dpkg -i rocm-smi-lib64-2.0.0.1.local-build-0-d10a391.deb 

will yield:
 ...
 Package: rocm-smi-lib64
 Version: 2.0.0.1.local-build-0-d10a391
 ...

Change-Id: I1e56e0c623b9421261cf0864958e821d10226d39
2019-11-08 15:09:16 -04:00
Yong Zhao 174484aac3 kfdtest: Use GetSystemTickCountInMicroSec() as much as possible
GetSystemTickCountInMicroSec() wraps the function gettimeofday().

Change-Id: I7b767a6efdd1db491fc8113313945b578ac69382
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-11-07 18:21:04 -05:00
Chris Freehill 1004a01094 Disable TestFrequenciesReadWrite for arcturus
Change-Id: Ia20ec853cdba34ff3dcdc68b4f869890bf58b539
2019-11-07 16:22:45 -05:00