Gráfico de commits

12605 Commits

Autor SHA1 Mensaje Fecha
Sean Keely c6cf161125 Fix git describe command to retrieve version tags correctly.
Change-Id: I904f5ccdb88c1e28d5eeffd104174fcd57626ee7
2018-07-10 20:19:04 -05:00
Sean Keely 63f2a0d280 Fix git describe command to retrieve version tags correctly.
Change-Id: I33282e8130d092e2f56b2f5947946d3c0ee22c60
2018-07-10 19:49:00 -05:00
Evgeny 7ba92e192b queue profiled API
Change-Id: I08f496fa76903738e937d2f29dc558ed9def3e0a
2018-07-10 16:56:27 -05:00
Evgeny 0f28f1b684 queue profiled API
Change-Id: I08f496fa76903738e937d2f29dc558ed9def3e0a


[ROCm/rocprofiler commit: 7ba92e192b]
2018-07-10 16:56:27 -05:00
Evgeny bc7a052294 adding counters instancing info
Change-Id: Idccc776ed91cafe9662b84bfad4149dde0c82caf
2018-07-09 13:48:57 -05:00
Evgeny 75203018c9 adding counters instancing info
Change-Id: Idccc776ed91cafe9662b84bfad4149dde0c82caf


[ROCm/rocprofiler commit: bc7a052294]
2018-07-09 13:48:57 -05:00
Chris Freehill 06759fed5f Undo temporary work-around for RSMI change
Change-Id: I9bf144add951c95e4eebc8647bffb71d13f4f612
2018-07-09 08:46:57 -05:00
xinhui pan ab9017715f use rbtree instead of vm_objects list
simple test of mapping many system memory to gpu.
before
[ RUN      ] KFDMemoryTest.MMap
[          ] Using ISA for GFXIP 9.0
[          ] successfully register/map 32GB system memory to gpu
[       OK ] KFDMemoryTest.MMap (36932 ms)

after
[ RUN      ] KFDMemoryTest.MMap
[          ] Using ISA for GFXIP 9.0
[          ] successfully register/map 32GB system memory to gpu
[       OK ] KFDMemoryTest.MMap (11441 ms)

So there is 11s VS 36s improvement.

Looks like we can do something similar with vm_area too.

Change-Id: I0349aacdeddec3534016d28176f0fabf632c61fc
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
2018-07-08 22:38:22 -04:00
Chris Freehill ae0c852074 Temporary work-around for RSMI change
Change-Id: If4913d5d0cdb0415569c75ab312c39b4253cd4fa
2018-07-07 22:57:42 -05:00
Evgeny 19fa38b294 fixing hsa queues profiling enabling
Change-Id: Ifec5a60ec32bdba40c366ac302659d69d47cc275
2018-07-06 18:25:55 -05:00
Evgeny 7ccd12634b fixing hsa queues profiling enabling
Change-Id: Ifec5a60ec32bdba40c366ac302659d69d47cc275


[ROCm/rocprofiler commit: 19fa38b294]
2018-07-06 18:25:55 -05:00
Wilkin 170e2a142f OpenCL BLIT for Image library
- include support for gfx702

Change-Id: If681a4eef9bd076e25300e1c1bca55b4f7c92b46
2018-07-06 10:35:44 -04:00
Felix Kuehling d3228f363e Fix wrong loop termination condition
Compare with gpu_mem_count instead of deprecated NUM_OF_SUPPORTED_GPUS
to prevent overflows in case no dGPUs are present.

Change-Id: I71fcb7503ba4c20bffadbdb04cefc4e4027a7df7
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-07-05 17:04:40 -04:00
Yong Zhao 4839882fc8 Set the write permission according to the flag when allocating host cpu mem
Change-Id: I758c2b5b1799e968fa852646e1494fabb68c782d
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
2018-07-03 20:39:01 -04:00
James Edwards 58a411dd36 Change packaging for rocr-dev and rocr-ext.
Change-Id: Ia096a2d31ddd7bef2e05bb3d6c58e94d8c339598
2018-07-02 13:40:45 -05:00
Evgeny 26abdc367e minor refactoring
Change-Id: I1911ba4f12f8f961a3d8a9f524e849e0cdd9664f
2018-07-02 13:14:28 -05:00
Evgeny 97e7fc68e6 minor refactoring
Change-Id: I1911ba4f12f8f961a3d8a9f524e849e0cdd9664f


[ROCm/rocprofiler commit: 26abdc367e]
2018-07-02 13:14:28 -05:00
Evgeny 4529d33db3 metrics list auto groups on the limit exceed error
Change-Id: I851d8fb6779fd39098ccbfb0a95ec1fd183ab89f
2018-07-02 09:50:25 -05:00
Evgeny a60e624c7e metrics list auto groups on the limit exceed error
Change-Id: I851d8fb6779fd39098ccbfb0a95ec1fd183ab89f


[ROCm/rocprofiler commit: 4529d33db3]
2018-07-02 09:50:25 -05:00
Evgeny 570cd62ad9 license annotaions
Change-Id: I76abf51b4703f5611fb918e83ff4f40ffd957463
2018-07-01 16:09:23 -05:00
Evgeny ed2d1a05a5 license annotaions
Change-Id: I76abf51b4703f5611fb918e83ff4f40ffd957463


[ROCm/rocprofiler commit: 570cd62ad9]
2018-07-01 16:09:23 -05:00
Evgeny e19643d633 fix
Change-Id: Id8744873770387d3e80958513d47a18e166856da
2018-07-01 15:47:10 -05:00
Evgeny eef21b10e3 fix
Change-Id: Id8744873770387d3e80958513d47a18e166856da


[ROCm/rocprofiler commit: e19643d633]
2018-07-01 15:47:10 -05:00
Evgeny deb3b4df0d adding run scripts
Change-Id: Ia7048a0baaa6ea03283aade53a0758d147dc6fcd
2018-07-01 15:31:42 -05:00
Evgeny 8507de8fad adding run scripts
Change-Id: Ia7048a0baaa6ea03283aade53a0758d147dc6fcd


[ROCm/rocprofiler commit: deb3b4df0d]
2018-07-01 15:31:42 -05:00
Slava Grigorev 89e35574e3 Fix 'strncpy' truncating warnings when compiling with gcc 8
Change-Id: Ib145bab9450281da05f70dea34433b83438a756b
Signed-off-by: Slava Grigorev <slava.grigorev@amd.com>
2018-06-29 17:06:08 -04:00
Yong Zhao 4eaaf9694d Simplify if else logic for hsaKmtAllocMemory()
The new logic is easier to follow.

Change-Id: I69759a45c5dedaefeff831a2367253d3a4486bd3
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
2018-06-29 14:39:52 -04:00
Yong Zhao 5972fac417 Rename two variable names in doorbells structure
There were two doorbells, one embedded in another, which are very confusing.
Change the member variable name to mapping to differentiate them. Also,
rename doorbells_mutex to just mutext for brevity.

Change-Id: Iaa14a1a3ee09449a9089fc1fb39c916fdf32fb44
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
2018-06-28 16:04:35 -04:00
Yong Zhao 77ec699460 Fix a bug that fmm_init_process_apertures() returns incorrect value
If opening drm render device fails (usually when the user is not a member
of video group), fmm_init_process_apertures() still returns success,
resulting in weird segfault in a later stage.

Change-Id: Ifbde4481629988944ad7f384d59753c88e287fa9
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
2018-06-28 16:03:07 -04:00
Evgeny a8db3d930c build compatibility
Change-Id: Ifde4b2e4e7cb48d5c06ccce5eb76b7b943c4114a
2018-06-26 16:05:39 -05:00
Evgeny d31b372430 build compatibility
Change-Id: Ifde4b2e4e7cb48d5c06ccce5eb76b7b943c4114a


[ROCm/rocprofiler commit: a8db3d930c]
2018-06-26 16:05:39 -05:00
Evgeny add56e26ae license annotations
Change-Id: I96b8f625a03b707b45aee6b8e7dbfabe073294c6
2018-06-25 19:52:28 -05:00
Evgeny 368f9f2b5d license annotations
Change-Id: I96b8f625a03b707b45aee6b8e7dbfabe073294c6


[ROCm/rocprofiler commit: add56e26ae]
2018-06-25 19:52:28 -05:00
Evgeny 3ad7e7aae7 cleanup
Change-Id: If8be00403338f4b68365b2829a2ad59f200af4cc
2018-06-25 17:05:23 -05:00
Evgeny 1adb0c19d1 cleanup
Change-Id: If8be00403338f4b68365b2829a2ad59f200af4cc


[ROCm/rocprofiler commit: 3ad7e7aae7]
2018-06-25 17:05:23 -05:00
Felix Kuehling fb551a44af Fix compiler warning on Fedora 28
Avoid warnings of the type
    error: 'strncpy' specified bound 64 equals destination size

With the destination being 0-initialized, subtracting 1 from the
destination buffer size will ensure that the destination will be a
0-terminated string, even when it's truncated.

Change-Id: I7c3a90482065ce4d020db215e3e41348de51a083
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-06-25 14:36:49 -04:00
Felix Kuehling 4e766615d7 Fixup previous commit
Add back missing pthread_mutex_lock.

Handle all error cases in fmm_release.

Change-Id: I8efa561ddadfd769cede5bf86300215ba3fb3dd1
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-06-25 14:24:23 -04:00
xinhui pan 8ee5647814 THUNK: fix deregister memory issues
__fmm_release actually fails to find the object if address is not
pagesize aligned.  And the caller did not notice this as __fmm_release
has no err code return.

So to fix this, move the object lookup in caller, and use vm-object
instead. Also fmm_release will pass up the error code.

Change-Id: Ib8ea1ea5ae844844fd20e8e01f0fdb841d218f2c
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
2018-06-25 14:12:26 -04:00
Evgeny 026bf224f9 update
[ROCm/roctracer commit: ab9f15454f]
2018-06-22 19:02:42 +00:00
Evgeny ab9f15454f update 2018-06-22 19:02:42 +00:00
Evgeny ca5c0e8928 documentation and cleanup, public metrics only
Change-Id: I8213d193ce2ba632adf133e630fd91baf9e81ddd
2018-06-22 10:16:13 -05:00
Evgeny 32b472e246 documentation and cleanup, public metrics only
Change-Id: I8213d193ce2ba632adf133e630fd91baf9e81ddd


[ROCm/rocprofiler commit: ca5c0e8928]
2018-06-22 10:16:13 -05:00
Felix Kuehling 9434223752 Clean up cmake install and package
* Use GNUInstallDirs
* Install headers in $prefix/include directly, drop symlink
* Install libraries in $prefix/lib directly, drop symlink
* Move LICENSE.md from hsakmt-roct-dev to hsakmt-roct

Change-Id: I43562f15cc03029be53e9ec18c337824d8116659
Signed-off-by: Slava Grigorev <slava.grigorev@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-06-20 11:32:53 -04:00
Jay Cornwall e388a23344 Add hsa_amd_queue_set_priority extension function
Controls dispatch and wavefront scheduling arbitration across quees.

Change-Id: I498f4898b544f79b8fb8514bf7e789ca9da29462
2018-06-19 19:41:28 -05:00
Evgeny ed92ee49bc API declaration fix
[ROCm/roctracer commit: 5c5cc0c63f]
2018-06-19 11:22:32 -05:00
Evgeny 5c5cc0c63f API declaration fix 2018-06-19 11:22:32 -05:00
Evgeny 8149ac7044 cleanup
[ROCm/roctracer commit: 6d6cf059b0]
2018-06-19 10:03:19 -05:00
Evgeny 6d6cf059b0 cleanup 2018-06-19 10:03:19 -05:00
Evgeny 0934ea72d9 callbacks sync
[ROCm/roctracer commit: 6dee8519e8]
2018-06-18 21:43:40 -05:00
Evgeny 6dee8519e8 callbacks sync 2018-06-18 21:43:40 -05:00