diff options
author | Michael Bien <[email protected]> | 2010-02-21 01:30:44 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-21 01:30:44 +0100 |
commit | 252b518140b29044a71a6862df594c3374cfb442 (patch) | |
tree | c77322b055e7279a08e46f8130a440202f7bad4b /src/com/mbien/opencl/demos/julia3d/structs/Vec.java | |
parent | f386e227c0cd30bf10b90acccd77d4845dc45783 (diff) |
32bit/CPU device compatibility and cleanup.
Diffstat (limited to 'src/com/mbien/opencl/demos/julia3d/structs/Vec.java')
-rw-r--r-- | src/com/mbien/opencl/demos/julia3d/structs/Vec.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/Vec.java b/src/com/mbien/opencl/demos/julia3d/structs/Vec.java index 1344db4..9e4cf44 100644 --- a/src/com/mbien/opencl/demos/julia3d/structs/Vec.java +++ b/src/com/mbien/opencl/demos/julia3d/structs/Vec.java @@ -13,11 +13,11 @@ public abstract class Vec { StructAccessor accessor; public static int size() { - if (CPU.is32Bit()) { - return Vec32.size(); - } else { +// if (CPU.is32Bit()) { +// return Vec32.size(); +// } else { return Vec64.size(); - } +// } } public static Vec create() { @@ -25,11 +25,11 @@ public abstract class Vec { } public static Vec create(java.nio.ByteBuffer buf) { - if (CPU.is32Bit()) { - return new Vec32(buf); - } else { +// if (CPU.is32Bit()) { +// return new Vec32(buf); +// } else { return new Vec64(buf); - } +// } } Vec(java.nio.ByteBuffer buf) { |