Commit Graph

1986 Commits

Author SHA1 Message Date
Evghenii
4581f10207 some changes 2014-01-20 13:46:49 +01:00
Evghenii
66faf8b4e4 some examples tuning 2014-01-13 09:52:34 +01:00
Evghenii
8f17468fa3 patch for stencil example 2014-01-13 08:50:21 +01:00
Evghenii
8190869714 added basic support for nvptx target 2014-01-10 08:47:59 +01:00
Evghenii
84134678dc ISPC can emit LLVM PTX now 2014-01-10 07:53:09 +01:00
Evghenii
9389b6e3ef basic optimization path fails 2014-01-10 06:34:44 +01:00
evghenii
9053eed4b4 added basic optimization pass that promotes uniform into varying variables (not array) for nvptx target 2014-01-10 06:32:57 +01:00
Evghenii
b6b8855728 +1 2014-01-09 14:45:52 +01:00
Evghenii
2c043f67d0 +some uniform related improvements 2014-01-09 14:37:27 +01:00
Evghenii
1ed438dcdb cleaned up a bit code for treatment of non-static uniform variables. all stored in shared memory 2014-01-09 13:02:50 +01:00
Evghenii
db6f526b78 added experimental support for uniform variables, not only arrays. makes applications slower 2014-01-09 12:18:10 +01:00
Evghenii
07c818833a fix test_static_nvptx 2014-01-09 09:49:42 +01:00
Evghenii
f86de2be78 fix: laneIndex() must be varying 2014-01-09 09:41:57 +01:00
Evghenii
5f859e4885 added addrspace(3,4)->addrspace(0) convertion to ctx->GetElementPtrInst. Appears to work now. 2014-01-08 19:31:28 +01:00
Evghenii
cc53fa4c14 fixed addrspace(3) pointer offset computation during conversion. Now it is done in GetElementPtr 2014-01-08 18:43:33 +01:00
Evghenii
a401eb5a3b added DeviceCacheSettings 2014-01-08 15:38:02 +01:00
Evghenii
69c5e0aae7 convert pointers in function arguments to addrspace(3). still there is poroblem with shared memory. need to figure out which one .. 2014-01-08 15:12:32 +01:00
Evghenii
d3dc5e0df1 patched examples to work with uniform for nvptx. function calls with non-generic pointers fail. need fix 2014-01-08 14:25:21 +01:00
Evghenii
f98a8cc22f allow declaratoin of varying arrays in global scope. seems to work autmatically. needs more testing 2014-01-08 13:39:31 +01:00
Evghenii
de4d66c56f added addrspace(4)/constant memory for const uniform declarations 2014-01-08 13:27:24 +01:00
Evghenii
f011b3cb22 added Error when varying variable is defined in global scope with nvptx target 2014-01-08 11:46:36 +01:00
Evghenii
8347c766f0 added uniform memory test. 2014-01-08 11:16:51 +01:00
Evghenii
0a66f17897 experimental support for non-constant [non-static] uniform arrays mapped to addrspace(3) 2014-01-08 11:06:14 +01:00
Evghenii
f0b49995e5 fix offset compuations 2014-01-07 19:13:10 +01:00
Evghenii
21313e52b4 added local ptr correction of store instruction. change compilation to llvm ptx for tests 2014-01-07 18:54:23 +01:00
Evghenii
1303b07b72 added correction for local pointer computations 2014-01-07 18:45:22 +01:00
evghenii
7d37f7b634 added separate function that deal with local pointers 2014-01-07 18:29:44 +01:00
Evghenii
9b74e60185 added conversion from addrspace(3)/__local/__shared__ to addspace(0)/generic when PtrToInt is called 2014-01-07 14:29:55 +01:00
Evghenii
96597d3716 identified where to add shared memory. other problems showed up.. 2014-01-07 11:07:54 +01:00
evghenii
7e63cafc85 fixed common-1 2014-01-06 20:24:37 +01:00
Evghenii
ee9d1ad26f +testing works 2014-01-06 18:13:06 +01:00
Evghenii
277fd2f8eb +retire for today 2014-01-06 17:02:26 +01:00
Evghenii
f130bfd25c added compilation script for ptx 2014-01-06 16:54:19 +01:00
Evghenii
4562304a29 working on testing system for nvptx 2014-01-06 16:35:48 +01:00
Evghenii
3972d740a6 added mask for tasking function 2014-01-06 16:18:28 +01:00
Evghenii
7fbe2eba59 fixed sync 2014-01-06 15:51:14 +01:00
Evghenii
91d4ae46f6 sort --fails 2014-01-06 15:38:30 +01:00
Evghenii
79ebf07882 added .ptx->.o genreation routines. experimental 2014-01-06 14:38:27 +01:00
Evghenii
18a50aa679 further cleaning... 2014-01-06 14:34:28 +01:00
Evghenii
4d6a1d4cc0 remove object file 2014-01-06 14:11:37 +01:00
Evghenii
a8a2cf9bdb change nvptx64->nvptx 2014-01-06 14:04:27 +01:00
Evghenii
785b2f5d24 added examples 2014-01-06 14:00:36 +01:00
evghenii
c7ed130cce Merge branch 'master' into nvptx 2014-01-06 14:00:27 +01:00
Evghenii
bf8a16b0e1 merge with sm35 2014-01-06 13:53:02 +01:00
Evghenii
546f9cb409 MAJOR CHANGE--- STOP WITH THIS BRANCH-- 2014-01-06 13:51:02 +01:00
Evghenii
77113fbffd remove file 2014-01-06 12:48:32 +01:00
Evghenii
260b1ad887 added deferred example 2014-01-06 12:26:49 +01:00
Evghenii
774e907ecf +1 2014-01-06 11:50:18 +01:00
Evghenii
27d957f0cb added taskCount 2014-01-06 11:01:38 +01:00
Evghenii
6878f83677 added options example 2014-01-06 11:01:26 +01:00