Skip to content

Commit 3fe7fd9

Browse files
committed
Rename chunk data type
1 parent bc33bab commit 3fe7fd9

2 files changed

Lines changed: 118 additions & 118 deletions

File tree

GPU/GPUbenchmark/Shared/Kernels.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace o2
2727
namespace benchmark
2828
{
2929

30-
template <class chunk_type>
30+
template <class chunk_t>
3131
class GPUbenchmark final
3232
{
3333
public:
@@ -41,7 +41,7 @@ class GPUbenchmark final
4141

4242
// Single stream synchronous (sequential kernels) execution
4343
template <typename... T>
44-
float benchmarkSync(void (*kernel)(int, chunk_type*, T...),
44+
float benchmarkSync(void (*kernel)(int, chunk_t*, T...),
4545
int nLaunches,
4646
int chunkId,
4747
int blocks,
@@ -50,7 +50,7 @@ class GPUbenchmark final
5050

5151
// Multi-streams asynchronous executions on whole memory
5252
template <typename... T>
53-
std::vector<float> benchmarkAsync(void (*kernel)(int, chunk_type*, T...),
53+
std::vector<float> benchmarkAsync(void (*kernel)(int, chunk_t*, T...),
5454
int nStreams, int nLaunches, int blocks, int threads, T&... args);
5555

5656
// Main interface
@@ -80,7 +80,7 @@ class GPUbenchmark final
8080
void copyConcurrent(SplitLevel sl, int nRegions = 2);
8181

8282
private:
83-
gpuState<chunk_type> mState;
83+
gpuState<chunk_t> mState;
8484
std::shared_ptr<ResultWriter> mResultWriter;
8585
benchmarkOpts mOptions;
8686
};

0 commit comments

Comments
 (0)