c9454afec1649846512993d0ef65a9f868976bb4 |
|
14-Jun-2014 |
Chris Wailes <chriswailes@google.com> |
Adds support for multi-input kernels to Slang. This patch modifies slang in the folowing ways: * Updates some of the development target API logic. * Adds logic for validating kernels with multiple inputs. * Added support for multi-input kernels to the Java reflection code. * Adds tests for these new features. * Updated existing tests with the new error messages. Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
/frameworks/compile/slang/slang_rs_export_foreach.h
|
796e7b1400d3f3f7c07496d88bb48129ea925bb9 |
|
27-May-2014 |
Jean-Luc Brouillet <jeanluc@google.com> |
Remove useless "return;" statements. More cleanups to follow... Change-Id: Ib8348255273771c1e9ff07e79bd7fbc8f2795a5b
/frameworks/compile/slang/slang_rs_export_foreach.h
|
50cab07b24f9d85899e697cac88a05cb8347fe74 |
|
25-Mar-2014 |
Narayan Kamath <narayan@google.com> |
Fix clang compile errors. Clean up several unnecessary forward declarations and private member variables. Change-Id: I5cd27a82ae222b8ee589cd279d8778ef7061a531
/frameworks/compile/slang/slang_rs_export_foreach.h
|
42f81b2b44205f421c6bd4727ce8c25b0effcb55 |
|
17-Jan-2014 |
Jean-Luc Brouillet <jeanluc@google.com> |
Require 'x' and 'y' as the parameter names of the iterators. By requiring the iterators to be named exactly 'x' and 'y', we can simplify processing. We can also improve the error messages. Note that the error messages are not printed in strict increasing order. If that's important, it's trivial to separate the search for IndexOfFirstIterator into its own function. Change-Id: I71ebf4118154924d67af31c44dbdb07ed0f54a77
/frameworks/compile/slang/slang_rs_export_foreach.h
|
d3f7527b105d21f1c69d3473eb88a762f2c3ab5a |
|
17-Jan-2014 |
Jean-Luc Brouillet <jeanluc@google.com> |
Add ReportErrror/Warning to RSContext. Remove a lot of boilerplate code by adding error reporting methods to RSContext. There are still a few additional files that could be cleaned. That will be for another CL someday. Change-Id: I6a261735720227ac87d94dbdea5ce4a7b8ef6cca
/frameworks/compile/slang/slang_rs_export_foreach.h
|
0f2a2397df53a1bb74609abe3c27719bc7e3c328 |
|
14-Jan-2014 |
Jean-Luc Brouillet <jeanluc@google.com> |
Code refactoring, no behavior change. Changed a couple of member variables to be more descriptive. Unified setting of signature metadata into one function. Change-Id: I4b4730d8159b8a67a4d9d39713dc2bec8eb8d01a
/frameworks/compile/slang/slang_rs_export_foreach.h
|
089cde338148fbb75825aea4539ccdae8211ffef |
|
08-Dec-2012 |
Stephen Hines <srhines@google.com> |
Forbid non-const static variables in kernels. Bug: 7688011 Change-Id: If03084a9ece76478e0ed0847b75f09c41b89a500
/frameworks/compile/slang/slang_rs_export_foreach.h
|
9ca96e70657cf5437a294213f56ba4768dc08ad2 |
|
14-Sep-2012 |
Stephen Hines <srhines@google.com> |
Support for pass-by-value kernels. This change allows the JB-mr1+ target API to declare compute kernels using "__attribute__((kernel))". This disables the use of pointers in the function signature and forces any output to be explicitly returned and input to be passed only by value. We still allow the user to add x, y coordinates if they want them. Bug: 7166741 Change-Id: I1407fceefb11c7d6c17221ca156cfce443c2b218
/frameworks/compile/slang/slang_rs_export_foreach.h
|
c17e198ffcd37bfc57e3add1f6eee952ae2a2eab |
|
22-Feb-2012 |
Stephen Hines <srhines@google.com> |
Support dummy root() and re-ordering in presence of non-root kernels. BUG=6000538 Change-Id: Ib3ed249916d36acf68ab32e9216804ae1da5e991
/frameworks/compile/slang/slang_rs_export_foreach.h
|
7b51b55e4467605a599e868a0dde7cb95c5ab76e |
|
16-Feb-2012 |
Stephen Hines <srhines@google.com> |
Export ForEach on non-root functions. BUG=6000538 This change also updates expected diagnostics for our existing tests. Change-Id: I98e12625d121ae20fcb6dcaacf0852c0f239c604
/frameworks/compile/slang/slang_rs_export_foreach.h
|
9999ec3aa0c4d7a6befd3a300dc07f0cea91cb6c |
|
11-Feb-2012 |
Stephen Hines <srhines@google.com> |
Clean up graphics/compute root() distinction. BUG=6000538 Change-Id: I29096556dff2072a8757e0dfd3321006cd60bb27
/frameworks/compile/slang/slang_rs_export_foreach.h
|
fbfd7f5fd97458b6b23437556025ac1d55e98fd4 |
|
28-Oct-2011 |
Stephen Hines <srhines@google.com> |
resolved conflicts for merge of f736d5a1 to ics-mr1 Change-Id: If31e6d49af2571458500f42f8cc2310758dfaa26
|
f736d5a12269e7e74740b130cdca98d9839b31e6 |
|
27-Oct-2011 |
Stephen Hines <srhines@google.com> |
Add back pre-ICS support for "int root(int);". BUG=5521638 Change-Id: Ic1f3c071562c687a98125c2151e306313c5405b8
/frameworks/compile/slang/slang_rs_export_foreach.h
|
9207a2e495c8363606861e4f034504ec5c153dab |
|
21-Oct-2011 |
Logan Chien <loganchien@google.com> |
Apply changes to migrate to LLVM upstream Oct 20th 2011. - StructType::isAnonymous is renamed to StructType::isLiteral. - PassManagerBuilder has been moved from llvm/Support/PassManagerBuilder.h to llvm/Transforms/IPO/PassManagerBuilder.h - Include llvm/Transforms/IPO.h for llvm::createInternalizePass. - clang::DiagClient has be renamed to clang::DiagnosticConsumer. Besides, we have to implement one additional pure virtual method 'clone' for create a clone of slang::DiagnosticBuffer. - llvm::Linker::LinkModules comes with one additional parameter. Passing llvm::Linker::DestroySource should be equivalent to the old code we were using. - slang::Slang is now derived from clang::ModuleLoader and implemented loadModule pure virtual method (though we will always return NULL.) - clang::Preprocessor is taking one additional parameter for clang::ModuleLoader. - clang::Diagnostic has been changed. A lot of the method has been moved to clang::DiagnosticsEngine, and we can no longer 'Report' a diagnostic from clang::Diagnostic. We have to use clang::DiagnosticEngine instead. - llvm::setCodeModel has been removed. Change-Id: I1f2a4cbeaf61a8ed1d0d635a5a0e1baa90d99d07
/frameworks/compile/slang/slang_rs_export_foreach.h
|
688e64b2d56e4218c680b9d6523c5de672f55757 |
|
24-Aug-2011 |
Stephen Hines <srhines@google.com> |
Generate .rs.dtor() to clean up globals. BUG=5186750 Change-Id: I9d1996153fe774a5ce95646a8a2e07aa6e7fa85f
/frameworks/compile/slang/slang_rs_export_foreach.h
|
4ccf75e55fe460a8daa49247d7e5a797329c71a6 |
|
17-Aug-2011 |
Stephen Hines <srhines@google.com> |
Fix up parsing of root() function arguments. BUG=5076887 Change-Id: I6ef41ebd237c864e46beee26f5952879d3712819
/frameworks/compile/slang/slang_rs_export_foreach.h
|
b5a89fbfcba6d8817c1c3700ed78bd6482cf1a5d |
|
17-May-2011 |
Stephen Hines <srhines@google.com> |
Clean up forEach reflection code. BUG=4203264 Change-Id: I8196608408fe333bd8e875d9517b8e875bdce17d
/frameworks/compile/slang/slang_rs_export_foreach.h
|
593a894650e81be54173106ec266f0311cebebd3 |
|
11-May-2011 |
Stephen Hines <srhines@google.com> |
Simple support for reflecting rsForEach(). BUG=4203264 Change-Id: Idf722ee3fb07c8e46ac0c4628e753ff2fa6840cf
/frameworks/compile/slang/slang_rs_export_foreach.h
|