swr: [rasterizer core] remove cygwin threads.cpp stubs
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
29e1c4a8a9
commit
a83beb936e
|
@ -221,16 +221,6 @@ void CalculateProcessorTopology(CPUNumaNodes& out_nodes, uint32_t& out_numThread
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(__CYGWIN__)
|
|
||||||
|
|
||||||
// Dummy data just to compile
|
|
||||||
NumaNode node;
|
|
||||||
Core core;
|
|
||||||
core.threadIds.push_back(0);
|
|
||||||
node.cores.push_back(core);
|
|
||||||
out_nodes.push_back(node);
|
|
||||||
out_numThreadsPerProcGroup = 1;
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#error Unsupported platform
|
#error Unsupported platform
|
||||||
|
@ -277,10 +267,6 @@ void bindThread(SWR_CONTEXT* pContext, uint32_t threadId, uint32_t procGroupId =
|
||||||
|
|
||||||
SetThreadGroupAffinity(GetCurrentThread(), &affinity, nullptr);
|
SetThreadGroupAffinity(GetCurrentThread(), &affinity, nullptr);
|
||||||
|
|
||||||
#elif defined(__CYGWIN__)
|
|
||||||
|
|
||||||
// do nothing
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
cpu_set_t cpuset;
|
cpu_set_t cpuset;
|
||||||
|
|
Loading…
Reference in New Issue