Commit Graph

2185 Commits

Author SHA1 Message Date
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
Evghenii
c75969d7c8 added LLVM_GPU and NVVM_GPU compiler rules 2014-01-06 10:27:25 +01:00
Evghenii
6500a98747 +checkpoint: fix .ispc kernels for compilation with llc->ptx 2014-01-06 08:52:41 +01:00
Evghenii
6c93793750 +checkpoint 2014-01-06 08:41:30 +01:00
Evghenii
e9058756b5 +checkpoint 2014-01-06 08:39:19 +01:00
Evghenii
15299571f9 use trunk and compile nvvm,llvm,cu files 2014-01-06 08:35:07 +01:00
Evghenii
b2368e243c +1 2014-01-06 08:15:50 +01:00
Evghenii
0d944ac87e use trunk llvm, use openmp in tasksys 2014-01-05 19:04:40 +01:00
Evghenii
730e0f7098 fixed helpers and makefile 2014-01-05 17:25:31 +01:00
Evghenii
6e2d59e279 added stencil 2014-01-05 17:24:38 +01:00
Evghenii
07049d6c76 volume rendering is working 2014-01-05 17:03:29 +01:00
Evghenii
eb97ef149a added gpu makefile, but doenst work just yet 2014-01-05 16:34:00 +01:00
Evghenii
2198d8ba51 +created overloaded new/delete 2014-01-05 16:20:56 +01:00
Evghenii
cd929b17a7 working on deferred 2014-01-05 15:30:18 +01:00