Commit Graph

20652 Commits (d649daaf4fe78994d98c78c95ce3893dee431342)

Author SHA1 Message Date
Doug Coleman 9c8bbcab34 Remove dumb echo from factor.sh 2010-04-23 23:28:24 -05:00
Doug Coleman 656118f959 init-cuda in a couple more places... 2010-04-23 23:19:26 -05:00
Doug Coleman 61a91cc416 Sprinkle init-cuda everywhere you could conceivably need it! 2010-04-23 23:17:47 -05:00
Doug Coleman 508eb5593f Copy factor.image to factor.image.fresh after bootstrapping. Use $ECHO in more places. 2010-04-23 23:14:53 -05:00
Doug Coleman 08b45ccfce 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 363fc2071e Move cuda.devices word out of cuda.utils 2010-04-23 18:27:13 -05:00
Doug Coleman 359067f36f Compile the .cu file with a relative pathname instead of absolute 2010-04-23 15:06:43 -05:00
Doug Coleman 441856e119 Add using 2010-04-23 14:43:48 -05:00
Doug Coleman 47ddf60b80 move cuda.utils library words to cuda.libraries 2010-04-23 14:43:13 -05:00
Doug Coleman 28c775381d remove init-cuda from a combinator because it's a startup-hook now 2010-04-23 14:29:24 -05:00
Doug Coleman 5d3b8ed678 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 f86227913c 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 adcdc5a45e use word-props instead of singletons for enum>number conversion so there's not a big fat generic making the image buy another plane ticket 2010-04-21 22:22:06 -07:00
Joe Groff 00e4503982 doll up ENUM: docs 2010-04-21 21:33:04 -07:00
Doug Coleman 2c3146bcf8 Merge remote branch 'origin/master' 2010-04-21 21:32:55 -05:00
Doug Coleman 9145e897b5 Fix alien.enum docs 2010-04-21 21:32:33 -05:00
Joe Groff 37b251c418 Merge branch 'master' of factorcode.org:/git/factor 2010-04-20 22:48:45 -07:00
Joe Groff 607c3d2f70 lua: clean up some literals abuse 2010-04-20 22:48:28 -07:00
Doug Coleman 27152e5fdb Fix C-ENUM: -> ENUM: 2010-04-21 00:42:33 -05:00
Daniel Ehrenberg 829e08550c Merge branch 'master' of git://factorcode.org/git/factor 2010-04-21 00:41:31 -05:00
Daniel Ehrenberg 2fa116980f Fixing issue where require-when could create a circularity 2010-04-21 00:40:40 -05:00
Doug Coleman 5210b2d563 Add a 'not tested' tag to javascriptcore 2010-04-21 00:30:05 -05:00
Erik Charlebois ac9ceb0b7d Merge branch 'dwarf' 2010-04-20 22:28:45 -07:00
Erik Charlebois 0114e47bba Merge branch 'fluids' 2010-04-20 22:28:43 -07:00
Erik Charlebois a900ec9e0a Merge branch 'lua' 2010-04-20 22:28:17 -07:00
Erik Charlebois 9d482e1367 Remove redundant vocab usage in model-viewer 2010-04-20 22:27:52 -07:00
Joe Groff 4b2bcf80a5 Merge branch 'master' of factorcode.org:/git/factor into symbolic-enums 2010-04-20 17:17:35 -07:00
Joe Groff 37bc8f4fdc Merge branch 'master' into symbolic-enums 2010-04-20 17:17:26 -07:00
Joe Groff 970df56056 alien.enums: make enum>number foldable so it optimizes constant enums to constant ints, make number>enum a macro so it doesn't use c-type metadata at runtime 2010-04-20 17:05:14 -07:00
Joe Groff 5b116da02e Merge branch 'symbolic-enums' of git://github.com/erikcharlebois/factor 2010-04-20 16:43:58 -07:00
Doug Coleman 169f566b63 use js-context in eval-js 2010-04-20 17:30:23 -05:00
Joe Groff f032a9baf2 Merge branch 'master' of factorcode.org:/git/factor 2010-04-20 15:28:19 -07:00
Joe Groff 21e291c07e GNUmakefile: build factor shared library by default again 2010-04-20 15:28:09 -07:00
Doug Coleman fc71551b65 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 d6875b32da fix add-library in javascriptcore 2010-04-20 16:06:50 -05:00
Joe Groff 8eab8fd48a Merge branch 'master' of factorcode.org:/git/factor 2010-04-20 13:51:33 -07:00
Joe Groff 6ca5f7eeb9 cuda.ptx: better representation of operands 2010-04-20 13:51:10 -07:00
Doug Coleman c7045c2e21 Add unit test to javascriptcore, make eval-js throw errors and return a string 2010-04-20 14:21:05 -05:00
Doug Coleman 16ecb2ec9b Add eval-js and eval-js-file 2010-04-20 13:40:16 -05:00
Erik Charlebois 79b61d8393 Use generic word for enum>number. Tests and documentations. 2010-04-19 20:08:40 -07:00
Erik Charlebois d44e470416 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 fc7ed73f87 prettyprint ENUM: definitions 2010-04-19 20:07:18 -07:00
Joe Groff e28882bf59 add alien.enums vocab with enum-c-types that convert between symbols and integer values in the FFI. update ENUM: to define symbolic enums, and take an optional base type 2010-04-19 20:07:18 -07:00
Joe Groff d439ad0b9f alien.c-types: use CONSULT: to define c-type-protocol methods on c-type-name 2010-04-19 20:07:17 -07:00
Joe Groff ff0c2c66f5 alien.parser, alien.syntax: send ENUM: body to parse-enum 2010-04-19 20:07:17 -07:00
Joe Groff f2b158ca10 alien.parser: have define-enum handle the case when the enum name is f 2010-04-19 20:07:17 -07:00
Joe Groff e84e18f2ca alien.parser, alien.syntax: refactor ENUM: to separate parsing from definition 2010-04-19 20:07:17 -07:00
Joe Groff 5aecd92c37 C-ENUM: -> ENUM: 2010-04-19 20:07:16 -07:00
Erik Charlebois 445dd492ee Lua FFI bindings 2010-04-19 20:06:27 -07:00
Erik Charlebois e4e9289a36 Dwarf authors file 2010-04-19 20:06:11 -07:00