Joe Groff
|
d639baa319
|
Merge branch 'images.viewer' of git://github.com/jonenst/factor
|
2010-05-17 13:08:58 -07:00 |
Joe Groff
|
e286a8daef
|
cuda.devices: factor "context-device cuda-device-properties" into a "context-device-properties" word
|
2010-05-16 17:16:27 -07:00 |
Jon Harper
|
c7012f4276
|
fix exception for large images
|
2010-05-16 17:36:51 +02:00 |
Joe Groff
|
a0f28d4402
|
cuda.gl.ffi: add missing LIBRARY: cuda befor ffi function defs
|
2010-05-15 22:33:03 -07:00 |
Joe Groff
|
5f909cf443
|
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
|
c1dbce85bb
|
cuda: move init-cuda from cuda.utils
|
2010-05-15 15:28:02 -07:00 |
Joe Groff
|
896cd58451
|
cuda.demos.prefix-sum: add init-cuda
|
2010-05-15 15:01:32 -07:00 |
Jon Harper
|
429c9df977
|
gl-texture-int is now in opengl.textures
|
2010-05-15 21:44:08 +02:00 |
Jon Harper
|
badbb3fbfd
|
fix images.viewer + documentation
|
2010-05-15 21:33:22 +02:00 |
Joe Groff
|
010b5069bd
|
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
|
22e853ecb0
|
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
|
20305432a9
|
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
|
e32e0f1423
|
cuda.gl: add free-resource word to release interop handles
|
2010-05-14 16:17:03 -07:00 |
Joe Groff
|
f9a8e90c41
|
cuda: add "cuda.gl" vocab with words for cuda/opengl/gpu interop
|
2010-05-14 16:00:27 -07:00 |
Joe Groff
|
afdced0183
|
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
|
51c3e8a1b9
|
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 |
Joe Groff
|
4eb55a5c3b
|
Merge branch 'master' of factorcode.org:/git/factor
|
2010-05-12 13:49:02 -07:00 |
Joe Groff
|
860e871fe6
|
new cuda.types vocab containing CUDA vector types (int2, float4, etc.) with CUDA alignment
|
2010-05-12 13:48:44 -07:00 |
Slava Pestov
|
d1e2554ebf
|
cuda.utils: fix load error
|
2010-05-10 20:50:28 -04:00 |
Joe Groff
|
cc2cee1ae3
|
Merge branch 'master' of factorcode.org:/git/factor
|
2010-05-10 15:07:00 -07:00 |
Joe Groff
|
6d30ce485c
|
cuda.utils: add "sync-context" word
|
2010-05-10 15:06:15 -07:00 |
Slava Pestov
|
73ff8ffed1
|
compiler.graphviz: fix load error
|
2010-05-10 00:45:48 -04:00 |
Joe Groff
|
077cd0397b
|
cuda.devices: fix distribute-jobs to look only at width of maxThreadsDim
|
2010-05-07 18:15:37 -07:00 |
Joe Groff
|
6d41ea32f5
|
cuda.devices: have distribute-jobs construct a launcher with the calculated grid-dim, block-dim, and shared-size
|
2010-05-07 18:09:21 -07:00 |
Joe Groff
|
5a980b58cb
|
remove cuda.constants; it's better to get those values from device-properties
|
2010-05-07 18:03:30 -07:00 |
Joe Groff
|
f26a5836e6
|
cuda.devices: "distribute-jobs" utility word that determines grid and block size for a job based on per-thread shared memory requirements and max block size
|
2010-05-07 18:02:42 -07:00 |
Joe Groff
|
097100cb12
|
cuda.utils: foo <c-object> ... foo memory>struct == foo <struct>
|
2010-05-07 17:18:08 -07:00 |
Joe Groff
|
a228e575a5
|
cdua.devices: remove redundant init-cuda calls
|
2010-05-07 17:16:28 -07:00 |
Slava Pestov
|
627295f094
|
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
|
2010-05-06 17:21:02 -04:00 |
Joe Groff
|
fb619ec928
|
cuda: fix using single integer as grid size
|
2010-05-05 19:07:39 -07:00 |
Joe Groff
|
ae37cc730b
|
cuda.memory: dependencies
|
2010-05-05 17:38:59 -07:00 |
Joe Groff
|
1d916246b0
|
cuda: rearrange function-launcher grid and block dim to be in the right order
|
2010-05-05 17:38:37 -07:00 |
Joe Groff
|
7c89fb2438
|
add cuda.constants vocab
|
2010-05-04 19:49:44 -07:00 |
Joe Groff
|
76512260b0
|
cuda.memory, cuda.syntax: inline some more words, add cuda-malloc-type word that allocates n*heap-size bytes of memory
|
2010-05-04 19:46:53 -07:00 |
Joe Groff
|
0778923d98
|
Merge branch 'master' of factorcode.org:/git/factor into cuda-changes
|
2010-05-04 17:34:31 -07:00 |
Daniel Ehrenberg
|
50705c1dce
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-05-04 18:11:02 -05:00 |
Daniel Ehrenberg
|
b9d9f3e2bd
|
Cleaning up trees code a little bit
|
2010-05-04 18:10:34 -05:00 |
Slava Pestov
|
d051df31a5
|
mason.release.tidy: don't die if file doesn't exist
|
2010-05-04 18:21:24 -04:00 |
Joe Groff
|
67b991dbe3
|
Merge branch 'master' into cuda-changes
|
2010-05-04 12:44:59 -07:00 |
Joe Groff
|
152da8c93c
|
cuda: streamline memory api
|
2010-05-03 18:18:10 -07:00 |
Slava Pestov
|
33eb15bf44
|
compiler.cfg.debugger: clean up and make it more flexible
|
2010-05-03 17:34:22 -04:00 |
Slava Pestov
|
0ddaba8adb
|
benchmark.yuv-to-rgb: use TYPED: instead of HINTS:
|
2010-05-03 17:34:05 -04:00 |
Joe Groff
|
338c568478
|
joystick-demo: missing iota
|
2010-05-02 01:25:46 -07:00 |
Joe Groff
|
0aff35bfee
|
game.models.half-edge: additional vertex-diagonals word
|
2010-04-28 18:52:40 -07:00 |
Joe Groff
|
84c79879df
|
game.models.half-edge words for walking half-edge model representation
|
2010-04-28 18:41:36 -07:00 |
Joe Groff
|
add082faa3
|
Merge branch 'master' of factorcode.org:/git/factor
|
2010-04-28 15:49:00 -07:00 |
Joe Groff
|
0ab9046300
|
rename half-floats vocab to math.floats.half
|
2010-04-28 15:48:47 -07:00 |
Doug Coleman
|
13baf777c9
|
Test factor.sh output on unix platforms
|
2010-04-25 15:23:44 -05:00 |
Doug Coleman
|
a51fea1224
|
Fix unit test for when auto-use isnt on and test the other constructor error condition
|
2010-04-23 23:30:51 -05:00 |
Doug Coleman
|
cc546c3a94
|
init-cuda in a couple more places...
|
2010-04-23 23:19:26 -05:00 |
Doug Coleman
|
8d76f2e612
|
Sprinkle init-cuda everywhere you could conceivably need it!
|
2010-04-23 23:17:47 -05:00 |
Doug Coleman
|
654e4d48f5
|
More error checking in constructors for when slot name is repeated or a slot is not present in a tuple
|
2010-04-23 20:12:54 -05:00 |
Doug Coleman
|
095763bcee
|
Move cuda.devices word out of cuda.utils
|
2010-04-23 18:27:13 -05:00 |
Doug Coleman
|
8323332838
|
Compile the .cu file with a relative pathname instead of absolute
|
2010-04-23 15:06:43 -05:00 |
Doug Coleman
|
b8c10dc2cd
|
Add using
|
2010-04-23 14:43:48 -05:00 |
Doug Coleman
|
b34c75a6a3
|
move cuda.utils library words to cuda.libraries
|
2010-04-23 14:43:13 -05:00 |
Doug Coleman
|
8ae600124c
|
remove init-cuda from a combinator because it's a startup-hook now
|
2010-04-23 14:29:24 -05:00 |
Doug Coleman
|
656f8987a1
|
Run hello-world on each CUDA device. fix a bug with returning the hello world string. add with-each-cuda-device combinator to run a program on each device. add an init-hook for cuda-init
|
2010-04-23 14:29:24 -05:00 |
Doug Coleman
|
d6036b6d5b
|
make host>device only take one parameter, add 2<<< for calling cuda functions where shared-memory is 0, simplify hello-world example
|
2010-04-23 14:29:23 -05:00 |
Joe Groff
|
6b2fdc73f5
|
Merge branch 'master' of factorcode.org:/git/factor
|
2010-04-20 22:48:45 -07:00 |
Joe Groff
|
33cf10e922
|
lua: clean up some literals abuse
|
2010-04-20 22:48:28 -07:00 |
Doug Coleman
|
eefc8b6e2f
|
Fix C-ENUM: -> ENUM:
|
2010-04-21 00:42:33 -05:00 |
Doug Coleman
|
ddfeee4621
|
Add a 'not tested' tag to javascriptcore
|
2010-04-21 00:30:05 -05:00 |
Erik Charlebois
|
01bec445e1
|
Merge branch 'dwarf'
|
2010-04-20 22:28:45 -07:00 |
Erik Charlebois
|
2be0e94c87
|
Merge branch 'fluids'
|
2010-04-20 22:28:43 -07:00 |
Erik Charlebois
|
723302053b
|
Merge branch 'lua'
|
2010-04-20 22:28:17 -07:00 |
Erik Charlebois
|
e3e19ddc67
|
Remove redundant vocab usage in model-viewer
|
2010-04-20 22:27:52 -07:00 |
Joe Groff
|
305c3de2af
|
Merge branch 'master' of factorcode.org:/git/factor into symbolic-enums
|
2010-04-20 17:17:35 -07:00 |
Joe Groff
|
a848b4b0c5
|
Merge branch 'symbolic-enums' of git://github.com/erikcharlebois/factor
|
2010-04-20 16:43:58 -07:00 |
Doug Coleman
|
54134f90f5
|
use js-context in eval-js
|
2010-04-20 17:30:23 -05:00 |
Doug Coleman
|
b32782ac9b
|
Move the guts of eval-js to its own word, add eval-js-standalone for unit tests
|
2010-04-20 17:25:28 -05:00 |
Doug Coleman
|
6ecf43b91f
|
fix add-library in javascriptcore
|
2010-04-20 16:06:50 -05:00 |
Joe Groff
|
d6b56c7e25
|
Merge branch 'master' of factorcode.org:/git/factor
|
2010-04-20 13:51:33 -07:00 |
Joe Groff
|
b71933f4d7
|
cuda.ptx: better representation of operands
|
2010-04-20 13:51:10 -07:00 |
Doug Coleman
|
73eb31a35c
|
Add unit test to javascriptcore, make eval-js throw errors and return a string
|
2010-04-20 14:21:05 -05:00 |
Doug Coleman
|
e4b67b268c
|
Add eval-js and eval-js-file
|
2010-04-20 13:40:16 -05:00 |
Erik Charlebois
|
baab8c060d
|
Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.
|
2010-04-19 20:08:40 -07:00 |
Joe Groff
|
4bc915d526
|
C-ENUM: -> ENUM:
|
2010-04-19 20:07:16 -07:00 |
Erik Charlebois
|
f572b56f8e
|
Lua FFI bindings
|
2010-04-19 20:06:27 -07:00 |
Erik Charlebois
|
dd4e505253
|
Dwarf authors file
|
2010-04-19 20:06:11 -07:00 |
Erik Charlebois
|
8d5b270fbd
|
DWARF ffi constants
|
2010-04-19 20:06:11 -07:00 |
Erik Charlebois
|
ebd6594ef5
|
Resources file for fluids and using vocab: instead of resource: for file paths.
|
2010-04-19 20:05:59 -07:00 |
Doug Coleman
|
1a6a8d4c93
|
Add a with-javascriptcore combinator to set the callstack bounds before calling javascriptcore ffi functions
|
2010-04-19 20:07:39 -05:00 |
Doug Coleman
|
5249ebfdf2
|
Use the javascriptcore library in javascriptcore bindings..
|
2010-04-19 18:03:44 -05:00 |
Doug Coleman
|
6bd0c02b34
|
Only load core-foundation vocab on macosx
|
2010-04-19 17:12:52 -05:00 |
Doug Coleman
|
c9dc95b103
|
Add a bare-bones javascriptcore.ffi binding
|
2010-04-19 17:09:26 -05:00 |
Slava Pestov
|
a618407bda
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-04-19 14:07:47 -05:00 |
Slava Pestov
|
703ff5385d
|
Merge branch 'require-when' of git://github.com/littledan/Factor
|
2010-04-19 14:06:52 -05:00 |
Joe Groff
|
1e7cc1613e
|
Merge branch 'master' of factorcode.org:/git/factor
|
2010-04-19 00:40:30 -07:00 |
Joe Groff
|
717dd1b10e
|
cuda.ptx: unit tests for instruction serialization
|
2010-04-19 00:40:10 -07:00 |
Doug Coleman
|
6b2024055f
|
Move some code to cuda.devices
|
2010-04-19 01:21:36 -05:00 |
Slava Pestov
|
f0543e6bdd
|
benchmark.fasta: formatting fix
|
2010-04-19 01:14:01 -05:00 |
Doug Coleman
|
1624903ae1
|
Split up cuda vocab some more, make CUDA-LIBRARY: work
|
2010-04-19 00:46:26 -05:00 |
Doug Coleman
|
eb3c6f414b
|
Fix the ptx path in cuda demo
|
2010-04-18 20:52:09 -05:00 |
Doug Coleman
|
5c17e6ee98
|
CUDA-FUNCTION: works, splitting up CUDA into more vocabs
|
2010-04-18 18:34:46 -05:00 |
Daniel Ehrenberg
|
aa6158b366
|
Changing require-when usages to the new syntax for require-when
|
2010-04-18 14:29:24 -05:00 |
Joe Groff
|
23cf6413dc
|
cuda.ptx: some unit tests
|
2010-04-18 11:59:37 -07:00 |
Joe Groff
|
0f2f54a195
|
cuda.ptx: rearrange maybe types so that tuple slots default to f properly, and adjust output of some insns
|
2010-04-17 16:10:53 -07:00 |
Joe Groff
|
8820f3bc26
|
Merge branch 'master' of factorcode.org:/git/factor
|
2010-04-17 15:59:37 -07:00 |
Joe Groff
|
f2de2222c7
|
cuda: AST representation for PTX code
|
2010-04-17 15:58:51 -07:00 |