Commit Graph

2016 Commits

Author SHA1 Message Date
Evghenii
bc99897fbb +fixed some example, found some bugs, and bugs in ptxas/cuda 2014-01-21 14:51:27 +01:00
Evghenii
5a773ed62a some cfor tests fixes for > 16 lanes 2014-01-20 16:42:33 +01:00
Evghenii
47c17305cf fixed double precision test call 2014-01-20 16:22:43 +01:00
Evghenii
c39a5e0de8 change extension to tmp files from .ispc to _ispc 2014-01-20 16:08:24 +01:00
Evghenii
63d3ac6679 Merge branch 'master' into nvptx 2014-01-20 13:47:24 +01:00
Evghenii
4581f10207 some changes 2014-01-20 13:46:49 +01:00
Dmitry Babokin
37e12045fb Merge pull request #717 from ifilippov/export_alias
Adding noalias attribute to uniform pointer parameters of export functions
2014-01-15 05:47:02 -08:00
Ilia Filippov
9552fc0724 adding noalias attribute to uniform pointer parameters of export function 2014-01-15 17:39:47 +04:00
Dmitry Babokin
0f56c11101 Merge pull request #716 from ifilippov/export_alias
Adding noalias attribute to uniform pointer parameters of export functions
2014-01-15 03:51:16 -08:00
Dmitry Babokin
6d59ef49f7 Merge pull request #713 from ifilippov/perf_correction
Support of LLVM trunk after changes in 198438, 199041, 199082 revisions.
2014-01-15 03:49:15 -08:00
Ilia Filippov
741dfaa2ea adding noalias attribute to uniform pointer parameters of export function 2014-01-15 15:15:42 +04:00
Ilia Filippov
5fa8bd3c78 changes for support LLVM trunk 2014-01-15 14:17:35 +04:00
Dmitry Babokin
86331022eb Merge pull request #687 from jbrodman/nomosoa
Add support for pointers to varying data in exported functions.
2014-01-13 09:03:45 -08:00
james.brodman
bdfcc615ea change if/for order. 2014-01-13 11:40:58 -05:00
james.brodman
05eac8631b typo fix. 2014-01-13 11:23:28 -05:00
Dmitry Babokin
7b537fd3b6 Merge pull request #711 from ifilippov/perf_correction
Returning 1d tasking in mandelbrot_tasks under ifdef
2014-01-13 04:50:58 -08:00
Ilia Filippov
1075b76612 returning 1d tasking in mandelbrot_tasks under ifdef 2014-01-13 16:41:30 +04: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
james.brodman
7726e87cd7 Add utility include file to return programCount 2014-01-10 16:23:48 -05:00
james.brodman
34b412bdf8 Add docs and example 2014-01-10 13:55:32 -05: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