-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugSomething isn't workingSomething isn't workinglibrariesThings about libraries and how we use them.Things about libraries and how we use them.performanceGotta go fast.Gotta go fast.
Description
I need to run GPU operations inside a loop, where the output of one iteration is used in the next one.
However, even very simple GPU broadcasts result in a memory leak and eventually I get OutOfMemoryError().
I am using oneAPI v.1.2.2 on WSL2 with Ubuntu on a Windows 10.
A very simple example that reproduces this is:
using oneAPI
gpu_array = oneAPI.zeros(Float32, 10_000_000)
for j in 1:5_000
gpu_array .+= 1
end
Is there something I am missing here?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglibrariesThings about libraries and how we use them.Things about libraries and how we use them.performanceGotta go fast.Gotta go fast.
