kfdtest: Reduce maximum number of events to 4095
The KFD patch "drm/amdkfd: Ignore bogus signals from MEC efficiently" will
reserve one signal slot that user mode cannot use any more. Update
the maximum event number in KFDEventTest to match that change.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: Ic789e16b6d73dfea66ab51c5bbc075c8e8e2d052
[ROCm/ROCR-Runtime commit: 347bf6a03c]
此提交包含在:
@@ -228,7 +228,7 @@ exit:
|
||||
TEST_F(KFDEventTest, MeasureInterruptConsumption) {
|
||||
TEST_START(TESTPROFILE_RUNALL);
|
||||
QueueAndSignalBenchmark latencyBench(128);
|
||||
QueueAndSignalBenchmark sustainedBench(4096);
|
||||
QueueAndSignalBenchmark sustainedBench(4095);
|
||||
|
||||
printf("\033[2J");
|
||||
while (true) {
|
||||
@@ -246,7 +246,7 @@ TEST_F(KFDEventTest, MeasureInterruptConsumption) {
|
||||
TEST_F(KFDEventTest, SignalMaxEvents) {
|
||||
TEST_START(TESTPROFILE_RUNALL);
|
||||
|
||||
static const unsigned int MAX_EVENT_NUMBER = 4096;
|
||||
static const unsigned int MAX_EVENT_NUMBER = 4095;
|
||||
uint64_t time, latency;
|
||||
|
||||
QueueAndSignalBenchmark maxEventTest(MAX_EVENT_NUMBER);
|
||||
|
||||
新增問題並參考
封鎖使用者