Commit Graph

241 Commits

Author SHA1 Message Date
Steven Robertson
5ebf62b1a3 Reduce some double-precision constants 2011-06-13 00:48:31 -04:00
Erik Reckase
131ce96263 fixed some missing ; in the variation code. 2011-06-12 21:53:33 -06:00
Steven Robertson
ae914d0b81 Fix some animation bugs 2011-06-12 20:20:36 -04:00
Steven Robertson
89b6732752 Skip the final xform when (re)joining the attractor 2011-06-12 19:29:10 -04:00
Steven Robertson
9a8e57cbc6 Fix a type error when gamma linearization == 0 2011-06-12 19:18:47 -04:00
Steven Robertson
9f2bc49009 Clean up some leftover debugging code in filtering 2011-06-12 19:17:02 -04:00
Steven Robertson
f872baf844 Use much more accurate filtsum estimation polynomials 2011-06-12 17:37:57 -04:00
Steven Robertson
e9998c28da Re-add a hard clamp for an estimator minimum.
The value 0.4 is above what it should be (0.3 is the theoretical minimum), and
having the harder clamp threshold causes some problems, but fixes others.
There's a deeper bug here.
2011-06-11 23:39:51 -04:00
Steven Robertson
299b5d5dab Fix filtering - or at least make it less broken 2011-06-11 23:28:32 -04:00
Steven Robertson
6b09e162a3 Make DE use current center CP instead of anim-wide CP; start debugging color 2011-06-11 22:51:16 -04:00
Steven Robertson
7ff0b65d81 Fix improper gutter offset in camera computation 2011-06-11 17:58:08 -04:00
Steven Robertson
38fbc391e8 Add gamma linearization (may be incorrect) 2011-06-11 17:50:15 -04:00
Steven Robertson
5b67ed7c33 Fix gutter-trim and compilation keeping 2011-06-11 17:23:29 -04:00
Steven Robertson
6c7d0270ad A few variation fixups 2011-06-11 17:21:34 -04:00
Steven Robertson
e79df46c66 Refactor API
--HG--
rename : cuburn/code/filter.py => cuburn/code/filtering.py
2011-06-11 15:59:10 -04:00
Steven Robertson
6f3c27007a Remove outdated MemBench stuff 2011-06-11 15:58:37 -04:00
Steven Robertson
94c453d153 Filter adjustments (density prefilter, gutter) 2011-06-11 15:58:15 -04:00
Steven Robertson
cd1f905ca3 Fix assembly (don't think this bug ever bit, but it could) 2011-05-29 15:20:58 -04:00
Steven Robertson
daf56ffc53 Split thread group up along warp boundary (this is useful later) 2011-05-29 15:15:06 -04:00
Steven Robertson
923d471e0e Merge memory transaction for slightly less smashing 2011-05-29 15:06:57 -04:00
Steven Robertson
78835085e8 A few trivial syntax corrections in the vars 2011-05-29 14:52:10 -04:00
Steven Robertson
7556d79ae5 Merge Erik's variations (TY!) 2011-05-05 23:36:40 -04:00
Steven Robertson
3d94c256a9 Another non-working checkin 2011-05-05 23:35:54 -04:00
Erik Reckase
0d88608b16 vars basically done. whew. a few are missing, but they're a pain and
i don't feel like doing them right now ;)
2011-05-05 21:16:47 -06:00
Erik Reckase
7d46b0d1db Done with 77. Will pick and choose the rest. 2011-05-05 18:09:23 -06:00
Erik Reckase
ec01cbfc43 up through var 69! 2011-05-05 13:44:12 -06:00
Steven Robertson
fac6f838a4 Saving unsuccessful separable filtering code 2011-05-05 10:40:22 -04:00
Erik Reckase
4f5d7efe27 vars up to 67 complete 2011-05-05 05:48:53 -06:00
Erik Reckase
9f78f5225a vars done through 57 2011-05-04 16:18:29 -06:00
Erik Reckase
d0084aab17 vars done through 49. skipping twintrian for now. 2011-05-04 14:43:17 -06:00
Erik Reckase
645222af47 added some blur variations, up to 36. 2011-05-04 12:05:51 -06:00
Erik Reckase
7a680efa1b added a few more vars, also fixed waves since it was referring to
precalc'd parameters
2011-05-04 11:51:04 -06:00
Steven Robertson
1aafe4a93c Some light performance optimizations 2011-05-04 09:52:20 -04:00
Steven Robertson
be66f80641 Final xforms 2011-05-04 08:13:39 -04:00
Erik Reckase
85ef8e7005 vars added up to 29. 2011-05-04 05:48:50 -06:00
Steven Robertson
e8a31bb4a5 Arbitrary camera, part 2 2011-05-04 01:30:22 -04:00
Steven Robertson
b2ee583b08 Arbitrary camera, part 1 2011-05-04 01:06:18 -04:00
Erik Reckase
765cf6b2e0 up to var22 (fan) completed. 2011-05-03 21:49:14 -06:00
Erik Reckase
d1137e8e89 lots more f's added. vars up to 19 complete. 2011-05-03 21:34:24 -06:00
Erik Reckase
f599685676 added missing f's and removed EPS 1e-20 thingies 2011-05-03 21:19:56 -06:00
Erik Reckase
8b6c6f462e added variations up to #16. 1/6 done! 2011-05-03 21:16:02 -06:00
Steven Robertson
c605815130 Make code more portable 2011-05-03 17:12:12 -04:00
Steven Robertson
eeff0a4d4f Oh, missed some 'f' suffixes on numbers 2011-05-03 16:15:16 -04:00
Steven Robertson
9d969476ec Be a little more particular about how mwc_11 is implemented 2011-05-03 15:26:44 -04:00
Steven Robertson
28c3c72bb8 Dithering 2011-05-03 15:26:05 -04:00
Steven Robertson
8ee5d3edd8 Add a few vars, and support for rendering single flames 2011-05-03 14:36:20 -04:00
Steven Robertson
84c2583ba8 A memory benchmark (temporary) 2011-05-03 13:02:15 -04:00
Steven Robertson
810b263aa2 Fix tex lookups. That was pretty dumb. 2011-05-03 03:23:25 +00:00
Steven Robertson
4612d753cc Switch to 1024x1024 (still fixed, tho) 2011-05-03 01:15:51 +00:00
Steven Robertson
9f3604b670 Fix my idiotic misalignment bug 2011-05-03 01:14:00 +00:00
Steven Robertson
972cd9f9ea Add image writing, and revert the buffer flip 2011-05-02 19:30:14 +00:00
Steven Robertson
1dad09fc03 Um, missed this file. Also, just fixed an obvious memory bug. 2011-05-02 19:29:07 +00:00
Steven Robertson
cd803cb3af Log scaling and color clipping (in a sense) 2011-05-02 16:19:55 +00:00
Steven Robertson
b710de4865 Color palette (sort of) 2011-05-01 15:23:45 -04:00
Steven Robertson
a43973f0ff Motion blur (a bit) 2011-05-01 09:53:36 -04:00
Steven Robertson
a7900f187d Add support for variations.
--HG--
rename : cuburn/variations.py => cuburn/code/variations.py
2011-05-01 09:36:29 -04:00
Steven Robertson
088299423e Some amount of dynamic rendering 2011-04-30 16:40:16 -04:00
Steven Robertson
1302f31ec7 "Crappy whatever I hate it" edition of Sierpinski triangle 2011-04-29 17:25:51 -04:00
Steven Robertson
fe6367821f RNG, again. Hooray. 2011-04-29 11:00:18 -04:00
Steven Robertson
bd1a943914 Start ripping stuff out 2011-04-28 11:24:58 -04:00
Steven Robertson
04351d6582 A final checkin before restarting the project 2011-04-28 10:47:42 -04:00
Steven Robertson
97180003a4 Broken: Variations, CP stream implemented 2010-10-09 11:18:58 -04:00
Steven Robertson
576d2fa683 Switch to pyptx. 2010-10-07 11:21:43 -04:00
Steven Robertson
c0e3c1d599 Known broken checkin because I'm nervous. 2010-10-01 01:20:20 -04:00
Steven Robertson
b938c320a8 Last touchups before ripping out the DSL 2010-09-13 12:22:08 -04:00
Steven Robertson
e4aac6993f A few touchups 2010-09-13 00:20:15 -04:00
Steven Robertson
e0b218feba A new (somewhat experimental) approach to fusing 2010-09-12 23:45:38 -04:00
Steven Robertson
5a5fcf5bb9 Fix the unbelieveably stupid bug I've been chasing for days. 2010-09-12 18:42:52 -04:00
Steven Robertson
2f48d01aa9 Fix linear variation typo 2010-09-12 17:38:51 -04:00
Steven Robertson
5c5122e8c8 Optimization doubles performance... but breaks the output (even more) 2010-09-12 17:17:08 -04:00
Steven Robertson
3e4e1d88a2 Allow device call exceptions to propagate after cleanup 2010-09-12 16:22:56 -04:00
Steven Robertson
70ca6d7729 Fix RNG test 2010-09-12 16:22:22 -04:00
Steven Robertson
a6141f492d A byte is *8* bits 2010-09-12 15:48:31 -04:00
Steven Robertson
7ef0d334ca ...except I missed the file that actually contained the new method 2010-09-12 14:06:07 -04:00
Steven Robertson
6ed8907fcb LaunchContext.get_per_thread 2010-09-12 13:45:55 -04:00
Steven Robertson
3265982fec Change 'ctx.threads' to 'ctx.nthreads', as it should have been from the start 2010-09-12 11:13:53 -04:00
Steven Robertson
a439bf671d Fix occupancy issues (1 block/SM when shuffle was on).
There are 16 bar.sync() registers available per *chip*, not per block, and I
was using number 8 in the shuffle code. Evidently the driver rewrites them per
SM, but does not compact their range. Good to know.
2010-09-12 11:09:47 -04:00
Steven Robertson
c13f6a06cf Experiments with larger CTAs for IterThread 2010-09-12 02:01:03 -04:00
Steven Robertson
e2b1c161cf More readable memory allocations 2010-09-12 01:13:22 -04:00
Steven Robertson
802ca1d585 Allow swapping out store methods for easier testing of performance 2010-09-12 01:09:04 -04:00
Steven Robertson
f368a99a16 Shuffle points between threads of a CTA 2010-09-12 00:17:18 -04:00
Steven Robertson
40a5ceafde Use a somewhat better writeback mechanism for now 2010-09-12 00:16:35 -04:00
Steven Robertson
aa688564f1 Add Timeouter, for timing out infinite loops so data can be recovered. 2010-09-11 13:18:40 -04:00
Steven Robertson
a5d7c2cc1a Use variations. This works, but is still fragile. 2010-09-11 13:15:36 -04:00
Steven Robertson
860d7b2fad Add xforms and variations. 2010-09-11 13:10:41 -04:00
Steven Robertson
56404b629f Add device assertions to standard library. 2010-09-11 00:12:02 -04:00
Steven Robertson
3932412539 Test to make sure floating point numbers were in the right range. 2010-09-10 19:36:39 -04:00
Steven Robertson
e71a8422e5 Make store_per_thread reuse gtid in multiple calls when possible 2010-09-10 18:45:32 -04:00
Steven Robertson
943e92b80c Use pycuda SourceModule to work around crashes, and a few invocation touchups. 2010-09-10 18:02:37 -04:00
Steven Robertson
c3d12d07c2 Fix MWCRNGTest. 2010-09-10 18:01:50 -04:00
Steven Robertson
36f1c1c056 Rename "cuburnlib" (stupid) to "cuburn" (stupid but shorter)
--HG--
rename : cuburnlib/__init__.py => cuburn/__init__.py
rename : cuburnlib/cuda.py => cuburn/cuda.py
rename : cuburnlib/device_code.py => cuburn/device_code.py
rename : cuburnlib/ptx.py => cuburn/ptx.py
rename : cuburnlib/render.py => cuburn/render.py
2010-09-10 14:48:34 -04:00