Skip to content

Commit

Permalink
Adjusted CPU-based SGO optimizer tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rs-mt committed Feb 15, 2024
1 parent 39a5144 commit bd975ae
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// ---------------------------------------------------------------------------------------
// ILGPU Algorithms
// Copyright (c) 2023 ILGPU Project
// Copyright (c) 2023-2024 ILGPU Project
// www.ilgpu.net
//
// File: CPUMetaOptimizerTests.cs
// File: CPUSGOOptimizerTests.cs
//
// This file is part of ILGPU and is distributed under the University of Illinois Open
// Source License. See LICENSE.txt for details.
Expand All @@ -24,9 +24,9 @@ namespace ILGPU.Algorithms.Tests.CPU
{
/// <summary>
/// Contains tests to verify the functionality of the CPU-specialized
/// <see cref="MetaOptimizer{T,TEvalType}"/> class.
/// <see cref="SGOOptimizer{T,TEvalType}"/> class.
/// </summary>
public class CPUMetaOptimizerTests
public class CPUSGOOptimizerTests
{
#region CPU Functions

Expand Down Expand Up @@ -190,7 +190,7 @@ public void MetaOptimizationScalar<TObjective>(
int numDimensions = objective.LowerBounds.Length;
var random = new System.Random(13377331);

using var optimizer = MetaOptimizer.CreateScalar<
using var optimizer = SGOOptimizer.CreateScalar<
float,
float,
RandomRanges.RandomRangeFloatProvider<XorShift64Star>>(
Expand Down Expand Up @@ -232,7 +232,7 @@ public void MetaOptimizationVectorized<TObjective>(
int numDimensions = objective.LowerBounds.Length;
var random = new System.Random(13377331);

using var optimizer = MetaOptimizer.CreateVectorized<
using var optimizer = SGOOptimizer.CreateVectorized<
float,
float,
RandomRanges.RandomRangeFloatProvider<XorShift64Star>>(
Expand Down Expand Up @@ -276,7 +276,7 @@ public void MetaOptimizationScalarRaw<TObjective>(
int numDimensions = objective.LowerBounds.Length;
var random = new System.Random(13377331);

using var optimizer = MetaOptimizer.CreateScalar<
using var optimizer = SGOOptimizer.CreateScalar<
float,
float,
RandomRanges.RandomRangeFloatProvider<XorShift64Star>>(
Expand Down

0 comments on commit bd975ae

Please sign in to comment.