Skip to content

Commit

Permalink
Adapted Samples.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rs-mt committed Oct 18, 2023
1 parent b4a4533 commit 493f9d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Samples/SimpleDebugAssert/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ---------------------------------------------------------------------------------------
// ILGPU Samples
// Copyright (c) 2021 ILGPU Project
// Copyright (c) 2021-2023 ILGPU Project
// www.ilgpu.net
//
// File: Program.cs
Expand Down Expand Up @@ -43,7 +43,7 @@ static void Main()
// Create main context
using var context = Context.Create(builder =>
{
builder.Cuda().OpenCL().AutoAssertions();
builder.Cuda().OpenCL().DebugConfig(enableAssertions: true);
// Alternatives to explore:
// builder.Default();
// builder.AllAccelerators().Debug();
Expand Down

0 comments on commit 493f9d6

Please sign in to comment.