Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
galumph
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • grp-svergun
  • galumph
  • Issues
  • #42

Closed
Open
Opened Feb 17, 2019 by Chris Kerr@ext.kerrMaintainer0 of 2 tasks completed0/2 tasks

Compiling the OpenCL code on demand gives flaky variable test times

Hypothesis gives lots of random errors about flaky tests which fail the deadline check on the first run but not on the second. This is almost certainly due to the time taken to compile the OpenCL program (for the second run, the compiled program is fetched from the cache).

  • Stick to a single set of values for LMAX, NSWORK, NATWORK etc., rather than drawing these from a hypothesis strategy
  • Have a pytest fixture that compiles the program once, before the tests are run, to ensure that it is in the cache.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: grp-svergun/galumph#42