This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
for (int s = 0; s < 10; s++) { | |
for (int e = 0; e < 10; e++) { | |
for (int n = 0; n < 10; n++) { | |
for (int d = 0; d < 10; d++) { | |
for (int m = 0; m < 10; m++) { | |
for (int o = 0; o < 10; o++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are 2 devices supporting CUDA | |
Device 0: "GeForce GTX 285" | |
CUDA Driver Version / Runtime Version 4.0 / 4.0 | |
CUDA Capability Major/Minor version number: 1.3 | |
Total amount of global memory: 1024 MBytes (1073545216 bytes) | |
(30) Multiprocessors x ( 8) CUDA Cores/MP: 240 CUDA Cores | |
GPU Clock Speed: 1.48 GHz | |
Memory Clock rate: 1242.00 Mhz | |
Memory Bus Width: 512-bit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/org/jruby/ext/ffi/Struct.java b/src/org/jruby/ext/ffi/Struct.java | |
index e6125f5..a851305 100644 | |
--- a/src/org/jruby/ext/ffi/Struct.java | |
+++ b/src/org/jruby/ext/ffi/Struct.java | |
@@ -13,6 +13,7 @@ import org.jruby.exceptions.RaiseException; | |
import org.jruby.runtime.ObjectAllocator; | |
import org.jruby.runtime.ThreadContext; | |
import org.jruby.runtime.builtin.IRubyObject; | |
+import static org.jruby.runtime.Visibility.*; | |