mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
deactivate test version
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "../uos-intel-gpgpu/driver/gpgpu_driver.h"
|
||||
#include "gpgpu_genode.h"
|
||||
|
||||
#define TEST // test stubs only (works with qemu)
|
||||
//#define TEST // test stubs only (works with qemu)
|
||||
#ifdef TEST
|
||||
#include "../uos-intel-gpgpu/stubs.h"
|
||||
#else
|
||||
|
||||
@@ -54,12 +54,12 @@ int gpgpu::Session_component::start_task(unsigned long kconf)
|
||||
kc->binary = (Genode::uint8_t*)((Genode::addr_t)kc->binary + mapped_base);
|
||||
|
||||
// set maximum frequency
|
||||
//GPGPU_Driver& gpgpudriver = GPGPU_Driver::getInstance();
|
||||
//gpgpudriver.setMaxFreq();
|
||||
GPGPU_Driver& gpgpudriver = GPGPU_Driver::getInstance();
|
||||
gpgpudriver.setMaxFreq();
|
||||
|
||||
// start gpu task
|
||||
//gpgpudriver.enqueueRun(*kc);
|
||||
kc->finished = true;
|
||||
gpgpudriver.enqueueRun(*kc);
|
||||
//kc->finished = true;
|
||||
|
||||
/*
|
||||
Kernel* kernel = (Kernel*)_global_gpgpu_genode->aligned_alloc(0, sizeof(Kernel));
|
||||
|
||||
Reference in New Issue
Block a user