tests.system.google.cloud.ray.resources.heavy

Attributes

num_tasks

results

outputs

Functions

heavy_task(x)

Simulates a heavy workload by performing a CPU-bound operation.

Module Contents

tests.system.google.cloud.ray.resources.heavy.heavy_task(x)[source]

Simulates a heavy workload by performing a CPU-bound operation. This example calculates the sum of squares for a range of numbers.

tests.system.google.cloud.ray.resources.heavy.num_tasks = 1000[source]
tests.system.google.cloud.ray.resources.heavy.results = [][source]
tests.system.google.cloud.ray.resources.heavy.outputs = None[source]

Was this entry helpful?