Skip to content

Commit

Permalink
Added loggers
Browse files Browse the repository at this point in the history
These were added to CubeMath and need to be included here also.
  • Loading branch information
iamsrp-deshaw committed Sep 27, 2024
1 parent 61f74b9 commit 022c197
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import java.util.concurrent.Executors;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;

import jdk.incubator.vector.*;

Expand Down Expand Up @@ -98,6 +100,11 @@
*/
public class VectorizedCubeMath
{
/**
* The logger for all the Hypercube code.
*/
private static final Logger LOG = Logger.getLogger("com.deshaw.hypercube");

/**
* An immutable single-valued boolean cube representation, that is
* internally useful for cube-with-value operations.
Expand Down Expand Up @@ -20951,4 +20958,4 @@ private static Hypercube<Double> doubleExtract(
}
}

// [[[end]]] (checksum: 54721bccc27551605f054e174274e96e)
// [[[end]]] (checksum: a0fed4701c98675cbe73ddb55dfd54e9)
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
import java.util.concurrent.Executors;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import jdk.incubator.vector.*;
''',
Expand Down Expand Up @@ -108,6 +110,11 @@
*/
public class {class_name}
{{
/**
* The logger for all the Hypercube code.
*/
private static final Logger LOG = Logger.getLogger("com.deshaw.hypercube");
''',

# Helper cog code to generate all additional static declarations for Vector API.
Expand Down

0 comments on commit 022c197

Please sign in to comment.