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 at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx