Adding ability to build cuda with pxshm enabled
authorLukasz Wesolowski <wesolwsk@illinois.edu>
Sun, 27 Jun 2010 20:01:01 +0000 (15:01 -0500)
committerLukasz Wesolowski <wesolwsk@illinois.edu>
Sun, 27 Jun 2010 20:01:01 +0000 (15:01 -0500)
src/arch/net-linux-amd64-cuda/conv-mach-pxshm.h [new file with mode: 0644]
src/arch/net-linux-amd64-cuda/conv-mach-pxshm.sh [new file with mode: 0644]

diff --git a/src/arch/net-linux-amd64-cuda/conv-mach-pxshm.h b/src/arch/net-linux-amd64-cuda/conv-mach-pxshm.h
new file mode 100644 (file)
index 0000000..f534175
--- /dev/null
@@ -0,0 +1,14 @@
+#undef CMK_USE_PXSHM
+#define CMK_USE_PXSHM                  1
+
+#undef CMK_IMMEDIATE_MSG
+#define CMK_IMMEDIATE_MSG       0
+
+#undef CMK_BROADCAST_HYPERCUBE
+#define CMK_BROADCAST_HYPERCUBE                                   1
+
+#undef CMK_WHEN_PROCESSOR_IDLE_USLEEP
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP  0
+
+#undef CMK_NETPOLL
+#define CMK_NETPOLL   1
diff --git a/src/arch/net-linux-amd64-cuda/conv-mach-pxshm.sh b/src/arch/net-linux-amd64-cuda/conv-mach-pxshm.sh
new file mode 100644 (file)
index 0000000..7ef2c6e
--- /dev/null
@@ -0,0 +1 @@
+CMK_LIBS="$CMK_LIBS -lrt"