Skip to content

Commit

Permalink
fix bug #225
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierCladellas committed Feb 7, 2025
1 parent ad96b3f commit 8409bd4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/feelpp/benchmarking/reframe/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,14 @@ def setResources(resources, rfm_test):

if resources.gpus_per_node: #or resources.gpus
gpu_strategy = GpusPerNodeStrategy()
gpu_strategy.configure(resources, rfm_test)
gpu_strategy.configure(resources, rfm_test)
gpu_strategy.validate(rfm_test)

if resources.memory:
MemoryEnforcer(resources.memory).enforceMemory(rfm_test)

ExclusiveAccessEnforcer(resources.exclusive_access).enforceExclusiveAccess(rfm_test)

strategy.validate(rfm_test)
gpu_strategy.validate(rfm_test)

return rfm_test

0 comments on commit 8409bd4

Please sign in to comment.