You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to sort 1D array with Odd-Even (Brick) sort. Race condition popping up in arrays ~100 or larger. Condition worsens as array size gets large ... 500, 1000, etc. Assuming issues when array larger than threads/block ... 768 in this GPU. Seeing condition for smaller number though. Noticed that placing Interops can help or worsen results. In some cases array values are lost and duplicated with others.
Is there a way to prevent this? __syncthreads(), atomic(bools) ... etc?
Trying to keep minimal memory footprint on device ... only 1 array.
Question
Soliciting help.
Trying to sort 1D array with Odd-Even (Brick) sort. Race condition popping up in arrays ~100 or larger. Condition worsens as array size gets large ... 500, 1000, etc. Assuming issues when array larger than threads/block ... 768 in this GPU. Seeing condition for smaller number though. Noticed that placing Interops can help or worsen results. In some cases array values are lost and duplicated with others.
Is there a way to prevent this? __syncthreads(), atomic(bools) ... etc?
Trying to keep minimal memory footprint on device ... only 1 array.
Program.txt
Environment
ILGPU version: 1.5.1
.NET 4.8
Windows 10 Enterprise LTSC (v. 10.0.17763 Build 17763)
NVIDIA RTX 6000 Ada
Additional context
namespace GPU_1D_Sort
{
internal class Program
{
static void Main(string[] args)
{
}
The text was updated successfully, but these errors were encountered: