Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Jun 7, 2019

Fixes #802

@teojgo
Copy link
Contributor Author

teojgo commented Jun 7, 2019

@vkarak can you check that this fixes the problem in the timings for your case ?

@toxa81
Copy link
Contributor

toxa81 commented Jun 7, 2019

looks ok

@teojgo
Copy link
Contributor Author

teojgo commented Jun 7, 2019

@jenkins-cscs retry all


/* time to allocate + fill */
std::fill(ptr.get(), ptr.get() + n, 0);
char* ptr = (char*)std::malloc(n);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a small comment with the rationale of not using unique_ptr here.

@vkarak
Copy link
Contributor

vkarak commented Jun 11, 2019

@jenkins-cscs retry kesch

@vkarak vkarak merged commit 2f05307 into reframe-hpc:master Jun 12, 2019
@teojgo teojgo deleted the test/alloc_sppeed_fix branch June 13, 2019 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alloc speed check reported timings seem problematic

3 participants