Skip to content
Snippets Groups Projects
Commit 01a863c8 authored by John Romein's avatar John Romein
Browse files

Provide enough parallelism for benchmarking.

parent 9cd518c6
No related branches found
No related tags found
No related merge requests found
Pipeline #104119 passed
...@@ -52,7 +52,7 @@ Benchmark::Benchmark() ...@@ -52,7 +52,7 @@ Benchmark::Benchmark()
template <typename SampleType, typename VisibilityType> void Benchmark::doTest(unsigned nrBits, unsigned nrReceiversPerBlock, unsigned nrReceivers) template <typename SampleType, typename VisibilityType> void Benchmark::doTest(unsigned nrBits, unsigned nrReceiversPerBlock, unsigned nrReceivers)
{ {
constexpr double measureTime = 3; // seconds constexpr double measureTime = 3; // seconds
constexpr unsigned nrChannels = 480; unsigned nrChannels = 4 * device.getAttribute<CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT>(); // provide enough parallelism
constexpr unsigned nrPolarizations = 2; constexpr unsigned nrPolarizations = 2;
constexpr unsigned nrSamplesPerChannel = 3072; constexpr unsigned nrSamplesPerChannel = 3072;
constexpr bool addVisibilities = false; constexpr bool addVisibilities = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment