public inbox for amd-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* kfdtest failures for amdkfd (amd-staging-drm-next)
@ 2018-09-14 11:50 Alexander Frolov
       [not found] ` <37f71cd7-364e-c951-0e70-8d0d7b17f5e1-4PKdL1x4DgGHXe+LvDLADg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Frolov @ 2018-09-14 11:50 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi!

I am trying to use amd-staging-drm-next to work with amdkfd (built into 
amdgpu) for the AMD Instinct MI25 device.

As a first step I compiled libhsakmt 1.8.x and tried to run kfdtest. But 
it produces lots of failures (see below).
Here are the results:

...
[==========] 76 tests from 14 test cases ran. (80250 ms total)
[  PASSED  ] 39 tests.
[  FAILED  ] 37 tests, listed below:
[  FAILED  ] KFDEvictTest.QueueTest
[  FAILED  ] KFDGraphicsInterop.RegisterGraphicsHandle
[  FAILED  ] KFDIPCTest.BasicTest
[  FAILED  ] KFDIPCTest.CrossMemoryAttachTest
[  FAILED  ] KFDIPCTest.CMABasicTest
[  FAILED  ] KFDLocalMemoryTest.BasicTest
[  FAILED  ] KFDLocalMemoryTest.VerifyContentsAfterUnmapAndMap
[  FAILED  ] KFDLocalMemoryTest.CheckZeroInitializationVram
[  FAILED  ] KFDMemoryTest.MapUnmapToNodes
[  FAILED  ] KFDMemoryTest.MemoryRegisterSamePtr
[  FAILED  ] KFDMemoryTest.FlatScratchAccess
[  FAILED  ] KFDMemoryTest.MMBench
[  FAILED  ] KFDMemoryTest.QueryPointerInfo
[  FAILED  ] KFDMemoryTest.PtraceAccessInvisibleVram
[  FAILED  ] KFDMemoryTest.SignalHandling
[  FAILED  ] KFDQMTest.CreateCpQueue
[  FAILED  ] KFDQMTest.CreateMultipleSdmaQueues
[  FAILED  ] KFDQMTest.SdmaConcurrentCopies
[  FAILED  ] KFDQMTest.CreateMultipleCpQueues
[  FAILED  ] KFDQMTest.DisableSdmaQueueByUpdateWithNullAddress
[  FAILED  ] KFDQMTest.DisableCpQueueByUpdateWithZeroPercentage
[  FAILED  ] KFDQMTest.OverSubscribeCpQueues
[  FAILED  ] KFDQMTest.BasicCuMaskingEven
[  FAILED  ] KFDQMTest.QueuePriorityOnDifferentPipe
[  FAILED  ] KFDQMTest.QueuePriorityOnSamePipe
[  FAILED  ] KFDQMTest.EmptyDispatch
[  FAILED  ] KFDQMTest.SimpleWriteDispatch
[  FAILED  ] KFDQMTest.MultipleCpQueuesStressDispatch
[  FAILED  ] KFDQMTest.CpuWriteCoherence
[  FAILED  ] KFDQMTest.CreateAqlCpQueue
[  FAILED  ] KFDQMTest.QueueLatency
[  FAILED  ] KFDQMTest.CpQueueWraparound
[  FAILED  ] KFDQMTest.SdmaQueueWraparound
[  FAILED  ] KFDQMTest.Atomics
[  FAILED  ] KFDQMTest.P2PTest
[  FAILED  ] KFDQMTest.SdmaEventInterrupt
[  FAILED  ] KFDTopologyTest.BasicTest

Does it mean that current amdkfd from the kernel cant be used with 
libhsakmt 1.8.x? or I am doing something wrong...
Thank you!

Best,
    Alexander

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kfdtest failures for amdkfd (amd-staging-drm-next)
       [not found] ` <37f71cd7-364e-c951-0e70-8d0d7b17f5e1-4PKdL1x4DgGHXe+LvDLADg@public.gmane.org>
@ 2018-09-14 21:40   ` Felix Kuehling
  0 siblings, 0 replies; 2+ messages in thread
From: Felix Kuehling @ 2018-09-14 21:40 UTC (permalink / raw)
  To: Alexander Frolov, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

You need ROCm 1.9 to work with the upstream KFD. libhsakmt from ROCm 1.8
is incompatible with the upstream KFD ABI.

Where did you get KFDTest? It's part of the same repository on GitHub as
libhsakmt. It's new on the 1.9 branch. You need libhsakmt from the same
branch. The ROCm 1.9 binaries are planned to be released later today if
all goes well.

Regards,
  Felix


On 2018-09-14 07:50 AM, Alexander Frolov wrote:
> Hi!
>
> I am trying to use amd-staging-drm-next to work with amdkfd (built
> into amdgpu) for the AMD Instinct MI25 device.
>
> As a first step I compiled libhsakmt 1.8.x and tried to run kfdtest.
> But it produces lots of failures (see below).
> Here are the results:
>
> ...
> [==========] 76 tests from 14 test cases ran. (80250 ms total)
> [  PASSED  ] 39 tests.
> [  FAILED  ] 37 tests, listed below:
> [  FAILED  ] KFDEvictTest.QueueTest
> [  FAILED  ] KFDGraphicsInterop.RegisterGraphicsHandle
> [  FAILED  ] KFDIPCTest.BasicTest
> [  FAILED  ] KFDIPCTest.CrossMemoryAttachTest
> [  FAILED  ] KFDIPCTest.CMABasicTest
> [  FAILED  ] KFDLocalMemoryTest.BasicTest
> [  FAILED  ] KFDLocalMemoryTest.VerifyContentsAfterUnmapAndMap
> [  FAILED  ] KFDLocalMemoryTest.CheckZeroInitializationVram
> [  FAILED  ] KFDMemoryTest.MapUnmapToNodes
> [  FAILED  ] KFDMemoryTest.MemoryRegisterSamePtr
> [  FAILED  ] KFDMemoryTest.FlatScratchAccess
> [  FAILED  ] KFDMemoryTest.MMBench
> [  FAILED  ] KFDMemoryTest.QueryPointerInfo
> [  FAILED  ] KFDMemoryTest.PtraceAccessInvisibleVram
> [  FAILED  ] KFDMemoryTest.SignalHandling
> [  FAILED  ] KFDQMTest.CreateCpQueue
> [  FAILED  ] KFDQMTest.CreateMultipleSdmaQueues
> [  FAILED  ] KFDQMTest.SdmaConcurrentCopies
> [  FAILED  ] KFDQMTest.CreateMultipleCpQueues
> [  FAILED  ] KFDQMTest.DisableSdmaQueueByUpdateWithNullAddress
> [  FAILED  ] KFDQMTest.DisableCpQueueByUpdateWithZeroPercentage
> [  FAILED  ] KFDQMTest.OverSubscribeCpQueues
> [  FAILED  ] KFDQMTest.BasicCuMaskingEven
> [  FAILED  ] KFDQMTest.QueuePriorityOnDifferentPipe
> [  FAILED  ] KFDQMTest.QueuePriorityOnSamePipe
> [  FAILED  ] KFDQMTest.EmptyDispatch
> [  FAILED  ] KFDQMTest.SimpleWriteDispatch
> [  FAILED  ] KFDQMTest.MultipleCpQueuesStressDispatch
> [  FAILED  ] KFDQMTest.CpuWriteCoherence
> [  FAILED  ] KFDQMTest.CreateAqlCpQueue
> [  FAILED  ] KFDQMTest.QueueLatency
> [  FAILED  ] KFDQMTest.CpQueueWraparound
> [  FAILED  ] KFDQMTest.SdmaQueueWraparound
> [  FAILED  ] KFDQMTest.Atomics
> [  FAILED  ] KFDQMTest.P2PTest
> [  FAILED  ] KFDQMTest.SdmaEventInterrupt
> [  FAILED  ] KFDTopologyTest.BasicTest
>
> Does it mean that current amdkfd from the kernel cant be used with
> libhsakmt 1.8.x? or I am doing something wrong...
> Thank you!
>
> Best,
>    Alexander
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-14 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-14 11:50 kfdtest failures for amdkfd (amd-staging-drm-next) Alexander Frolov
     [not found] ` <37f71cd7-364e-c951-0e70-8d0d7b17f5e1-4PKdL1x4DgGHXe+LvDLADg@public.gmane.org>
2018-09-14 21:40   ` Felix Kuehling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox