class TestMultithread

Defined at line 27 of file ../../src/graphics/magma/tests/msd_conformance_tests/test_magma_system_multithread_cc.cc

This test is meant to run on all devices and exercise

the execution of command buffers from multiple connections

simultaneously. So doing requires some device specific knowledge

(for example what instructions to put into the command buffer);

and that may not be easily achieved so in practice this test

may bail out early on some devices.

Public Methods

void TestMultithread (std::unique_ptr<Driver> driver, std::unique_ptr<MagmaSystemDevice> device)

Defined at line 29 of file ../../src/graphics/magma/tests/msd_conformance_tests/test_magma_system_multithread_cc.cc

void Test (uint32_t num_threads)

Defined at line 32 of file ../../src/graphics/magma/tests/msd_conformance_tests/test_magma_system_multithread_cc.cc

void ConnectionThreadEntry (TestMultithread * test)

Defined at line 46 of file ../../src/graphics/magma/tests/msd_conformance_tests/test_magma_system_multithread_cc.cc

void ConnectionThreadLoop (uint32_t num_iterations)

Defined at line 50 of file ../../src/graphics/magma/tests/msd_conformance_tests/test_magma_system_multithread_cc.cc

bool InitCommandBuffer (magma_exec_command_buffer * command_buffer, magma_exec_resource * exec_resource, magma::PlatformBuffer * batch_buffer)

Defined at line 94 of file ../../src/graphics/magma/tests/msd_conformance_tests/test_magma_system_multithread_cc.cc

void InitBatchBufferIntel (magma::PlatformBuffer * buffer)

Defined at line 106 of file ../../src/graphics/magma/tests/msd_conformance_tests/test_magma_system_multithread_cc.cc