summaryrefslogtreecommitdiff
path: root/vector.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-03-01 13:02:50 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit4d2d896e28446928d820bf1353abcf40e3f66ed8 (patch)
tree1aa8c49b5faec5f96a80f2257bb97d1c123d36b6 /vector.h
parent11f46f4bf230a22559110f64d01ee9c05749de38 (diff)
downloadpucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.tar.gz
pucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.tar.bz2
pucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.zip
Switch to OpenMP
Replaces quality (target density) parameter with time limit. In preparation for rendering resumption.
Diffstat (limited to 'vector.h')
-rw-r--r--vector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vector.h b/vector.h
index 6e65186..2c4ff52 100644
--- a/vector.h
+++ b/vector.h
@@ -5,10 +5,12 @@
/* LLVM/clang */
typedef double double2 __attribute__ ((ext_vector_type (2)));
typedef double double4 __attribute__ ((ext_vector_type (4)));
+typedef unsigned int uint2 __attribute__ ((ext_vector_type (2)));
#endif
#else
/* GCC */
typedef double double2 __attribute__ ((vector_size (sizeof (double)*2)));
typedef double double4 __attribute__ ((vector_size (sizeof (double)*4)));
+typedef unsigned int uint2 __attribute__ ((vector_size (sizeof (unsigned int)*2)));
#endif