Commit Graph

8969 Commits (b5fb6799438821eab8782ab7613dfa7f96e1c858)

Author SHA1 Message Date
Slava Pestov ec9b948bfe benchmark.spectral-norm-simd: SIMD implementation of spectral-norm algorithm using SIMD primitives, about 40% faster but takes ages to compile -- good compile-time benchmark 2010-05-30 20:11:34 -04:00
Slava Pestov eaaa546d5d benchmark.spectral-norm: add copyright notice 2010-05-30 20:11:34 -04:00
Slava Pestov 3c0bc308ae Add deployment descriptors for benchmarks, and add a bigger input file for knucleotide and regex-dna 2010-05-29 04:27:55 -04:00
Joe Groff ea208882f0 key-caps, joystick-demo: move demos to game.input.demos.key-caps, game.input.demos.joysticks 2010-05-29 00:20:09 -07:00
Joe Groff ff500c734e Merge branch 'master' of http://factorcode.org/git/factor 2010-05-25 18:40:58 -07:00
Slava Pestov faa015f71b bootstrap.image.download: refactor it a bit to make mason.updates more robust 2010-05-25 17:18:06 -04:00
Joe Groff 336409d67a cuda.gl: with-mapped-cuda-buffer helper word 2010-05-25 00:37:15 -07:00
Joe Groff 3e76148e08 cuda.gl: cuda-buffer helper object that pairs a buffer with its attached CUDA resource 2010-05-24 22:57:25 -07:00
Slava Pestov 3026951d86 nehe: fix load errors 2010-05-25 01:42:46 -04:00
Joe Groff d7374e9d2f gpu.buffers: grow-buffer helper word 2010-05-24 22:13:15 -07:00
Joe Groff 724d6c3786 cuda.contexts, cuda.gl: factor out set-up-cuda-context and clean-up-cuda-context so they can be used by objects that own a cuda context (separate from with-cuda-context) 2010-05-24 22:13:15 -07:00
Doug Coleman 418ca8a960 Make frequency a constant 2010-05-24 22:59:25 -05:00
Doug Coleman 56a9ad6f7b Key-logger demo 2010-05-24 22:59:24 -05:00
Slava Pestov 36aa9995f9 ui.gadgets.worlds: don't enable depth buffer by default, since it just wastes memory and apps which need it can pass custom pixel-format-attributes to open-window to enable it explicitly 2010-05-24 19:23:02 -04:00
Slava Pestov 9131335371 ecdsa: C types can't be strings anymore 2010-05-22 16:23:29 -04:00
Slava Pestov 894b09696a chipmunk.demo: fix load error 2010-05-22 03:24:04 -04:00
Doug Coleman c80294a38b Remove dependency on tick unit 2010-05-21 23:53:55 -05:00
Doug Coleman ce95cea303 Finish renaming micros->nanos in game code, update libs 2010-05-21 23:50:42 -05:00
Doug Coleman 179acf5ea6 Update code base for new alarms api 2010-05-21 20:42:12 -05:00
Doug Coleman 7a41f5da2e Fix using list in sequences.unrolled, keys/values was not appropriate in several locations 2010-05-21 15:28:05 -05:00
Doug Coleman 529b4d111e Fix using list for keys/values change 2010-05-21 12:48:06 -05:00
Doug Coleman c0169fea1a Use overhauled alarms in game.loop 2010-05-21 12:48:06 -05:00
Doug Coleman e559f1470b Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Joe Groff e282a922af cuda.libraries: make grid tuple read-only, grid-dim/block-dim foldable, and CUDA-FUNCTION: words inline so that kernel call sites can optimize 2010-05-20 18:10:17 -07:00
Joe Groff aa80bb060d cuda.libraries, cuda.syntax: support for both 32- and 64-bit CUDA pointer abis. make CUDA-LIBRARY: read the abi as part of the library definition 2010-05-20 17:56:45 -07:00
Joe Groff 6068a4fa14 cuda.libraries: rework parameter passing to fill entire parameter space in one API call 2010-05-20 17:23:47 -07:00
Joe Groff ccf8ed377b cuda.libraries: scrape out some useless code 2010-05-20 15:57:23 -07:00
Joe Groff 1c07f69833 cuda.libraries, cuda.syntax: factor generated CUDA-FUNCTION: word bodies into a "cuda-invoke" macro; add CUDA-GLOBAL: for referencing global symbols 2010-05-20 15:45:35 -07:00
Joe Groff 2542bb42cf cuda.libraries: rename "function-launcher" to "grid", 2<<< to <grid>, 3<<< to <grid-shared>, 4<<< to <grid-shared-stream> 2010-05-20 14:59:27 -07:00
Joe Groff 7f8e55760d improve cuda library organization 2010-05-20 14:40:26 -07:00
Slava Pestov 40f58f27d6 specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length 2010-05-18 23:09:34 -04:00
Slava Pestov c0f39aa99d Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Joe Groff 911513f5cd images.viewer: tag "not tested" rather than "not tested^M" 2010-05-18 12:43:31 -07:00
Slava Pestov e5f6b4316b images.viewer: add not tested tag since the unit tests rely on a GL context 2010-05-18 15:39:43 -04:00
Joe Groff 457497edfb Merge branch 'images.viewer' of git://github.com/jonenst/factor 2010-05-17 13:08:58 -07:00
Joe Groff d70bf5fe60 cuda.devices: factor "context-device cuda-device-properties" into a "context-device-properties" word 2010-05-16 17:16:27 -07:00
Jon Harper b094047048 fix exception for large images 2010-05-16 17:36:51 +02:00
Joe Groff 2566e68f80 cuda.gl.ffi: add missing LIBRARY: cuda befor ffi function defs 2010-05-15 22:33:03 -07:00
Joe Groff 1e938f01cf cuda.gl: enum>number the flags argument to gl-buffer>resource so that single CUDA flag symbols can be used as arguments 2010-05-15 16:26:49 -07:00
Joe Groff 567ab15274 cuda: move init-cuda from cuda.utils 2010-05-15 15:28:02 -07:00
Joe Groff c93596bb7b cuda.demos.prefix-sum: add init-cuda 2010-05-15 15:01:32 -07:00
Jon Harper a372117ad7 gl-texture-int is now in opengl.textures 2010-05-15 21:44:08 +02:00
Jon Harper 9bfc733f51 fix images.viewer + documentation 2010-05-15 21:33:22 +02:00
Joe Groff 4d0508a995 opengl.textures: borrow get-texture-float and get-texture-int helper words from gpu.textures 2010-05-15 12:09:50 -07:00
Joe Groff cb589c1f73 cuda: more API cleanups:
- remove useless with-cuda and with-cuda-program combinators
	- eliminate redundant cuda-device, cuda-context variables
	- rearrange arguments of with-*cuda-context to ( device flags quot -- )
	- don't pass context to with-cuda-context quot
	- add context-device word to ask for current device
2010-05-15 11:47:19 -07:00
Joe Groff aeee276044 gpu.buffers: "with-mapped-buffer-array" helper word that wraps a mapped GL buffer in a specialized-array for easy inspection 2010-05-14 16:54:06 -07:00
Joe Groff 9280e545b1 cuda.gl: add free-resource word to release interop handles 2010-05-14 16:17:03 -07:00
Joe Groff 8cbc74ffe1 cuda: add "cuda.gl" vocab with words for cuda/opengl/gpu interop 2010-05-14 16:00:27 -07:00
Joe Groff 4b7ed99982 cuda: in with-cuda-context, sync context when cleaning up so that destroying context doesn't fail due to asynchronous errors 2010-05-14 16:00:27 -07:00
Joe Groff 857a2ff13b gpu.render: allow uchar-array, ushort-array, and uint-array to be passed directly to render as element arrays 2010-05-14 16:00:27 -07:00