Skip to content

Commit bbe8597

Browse files
committed
Slightly enlarge plain-malloc example
1 parent b09ce70 commit bbe8597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/plain-malloc/source/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ auto makeExecutionDetails() {
4545
cudaDeviceSetLimit(cudaLimitMallocHeapSize, 1024U * 1024U * 1024U);
4646
#endif
4747
uint32_t const numThreadsPerBlock = 256U;
48-
uint32_t const numThreads = 4U * numThreadsPerBlock;
48+
uint32_t const numThreads = 16U * numThreadsPerBlock;
4949
auto workdiv = [numThreads, numThreadsPerBlock]() -> alpaka::WorkDivMembers<Dim, Idx> {
5050
if constexpr (std::is_same_v<alpaka::AccToTag<Acc>, alpaka::TagCpuSerial>) {
5151
return {{1U}, {1U}, {numThreads}};

0 commit comments

Comments
 (0)