summaryrefslogtreecommitdiffstats
path: root/eval
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate clang warnings in eval.Tor Egge2019-02-102-3/+3
|
* Return unique pointer to const tensor instead.Geir Storli2019-02-081-2/+2
|
* Create common test function for creating a tensor using default tensor engine.Geir Storli2019-02-084-38/+50
|
* Merge pull request #8439 from ↵Tor Egge2019-02-0828-36/+226
|\ | | | | | | | | vespa-engine/geirst/add-operation-support-on-sparse-tensors Geirst/add operation support on sparse tensors
| * Update Tensor forward declarations.Geir Storli2019-02-088-8/+8
| |
| * Rename unit test tensor_modify -> tensor_modify_operation.Geir Storli2019-02-084-9/+9
| |
| * Implement add() function on vespalib::tensor::Tensor for adding a set of ↵Geir Storli2019-02-0817-19/+209
| | | | | | | | | | | | cells to the tensor. Currently only supported for sparse tensor.
* | Eliminate some clang warnings in evalTor Egge2019-02-083-5/+2
|/
* Merge pull request #8348 from vespa-engine/toregge/tensor-update-end-to-endGeir Storli2019-02-0420-48/+396
|\ | | | | Tensor modify update end to end
| * Test that updates to missing cells are ignored.Tor Egge2019-02-011-0/+24
| | | | | | | | Test that updates to out of range cells are ignored.
| * Apply tensor modify update to given field value.Tor Egge2019-02-0120-48/+372
| |
* | Revert "Revert "Use OS provided xxhash.""Henning Baldersheim2019-02-033-2/+16
| |
* | Revert "Use OS provided xxhash."Håkon Hallingstad2019-02-033-16/+2
| |
* | Use OS provided xxhash.Henning Baldersheim2019-02-013-2/+16
| |
* | Adjust forward declarations in eval.Tor Egge2019-02-0119-25/+25
|/
* Merge pull request #6518 from ↵Henning Baldersheim2018-08-081-4/+15
|\ | | | | | | | | vespa-engine/havardpe/avoid-old-style-varargs-when-specifying-function-types Avoid using the 'convenient' way to specify parameter types when
| * Avoid using the 'convenient' way to specify parameter types whenHåvard Pettersen2018-08-081-4/+15
| | | | | | | | | | | | | | | | | | | | resolving application functions we want to call from an llvm-compiled function. LLVM 3.9 uses varargs with a nullptr sentinel at the end while newer versions of LLVM (5/6) uses variadic templates. This leads to 'inconvenience' when upgrading where the code still compiles, but the no longer needed/wanted nullptr sentinel triggers a signature mismatch leading to not being able to call functions like 'sin'/'cos' etc.
* | dump -> print(stream)Henning Baldersheim2018-08-083-13/+11
|/
* newer llvm releases have dropped virtual.Henning Baldersheim2018-08-071-7/+4
| | | | Use llvm::dyn_cast to be future safe.
* Remove stringref::c_str()Tor Brede Vekterli2018-07-252-2/+2
| | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation.
* some more cleanupArne Juul2018-06-201-3/+0
|
* add and use HDR_ABORT insteadArne Juul2018-06-202-5/+5
|
* use LOG_ABORT not just abort()Arne Juul2018-06-128-10/+30
| | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).
* DeinlineHenning Baldersheim2018-05-114-41/+61
|
* experiment with generic typification multi-dispatchHåvard Pettersen2018-04-113-0/+631
|
* allow multi-dimensional dot product optimizationHåvard Pettersen2018-03-233-16/+85
|
* added dense 'add dimension' optimizerHåvard Pettersen2018-03-208-0/+206
|
* added dense remove dimension optimizerHåvard Pettersen2018-03-1911-5/+200
|
* 'fast rename' is now an optimizer using the 'replace type' functionHåvard Pettersen2018-03-169-94/+46
|
* added generic DenseReplaceTypeFunction with testHåvard Pettersen2018-03-156-0/+145
|
* use 'Super' when forwarding calls to visit_selfHåvard Pettersen2018-03-146-9/+18
|
* no need to include templated visit rulesHåvard Pettersen2018-03-141-1/+0
|
* always use actual class nameHåvard Pettersen2018-03-143-9/+2
|
* remove DumpTarget and dump_treeHåvard Pettersen2018-03-1417-350/+0
|
* use ObjectVisitor to debug dump TensorFunction treesHåvard Pettersen2018-03-1316-29/+342
|
* GC leftover codeArne Juul2018-03-091-53/+0
|
* fix copyright dateArne Juul2018-03-081-1/+1
|
* add dump_tree API for tensor functionsArne Juul2018-03-0818-0/+423
| | | | | | * NOTE: recursive implementation, use sparingly. * turn on debug logging to get a dump of tensor functions before and after optimizations.
* test result mutability of optimized operationsHåvard Pettersen2018-03-053-131/+54
| | | | also clean up vector from doubles test using eval fixture
* added test for result mutability of basic tensor function nodesHåvard Pettersen2018-03-051-0/+25
|
* appropriately tag various tensor function nodes as mutable (or not)Håvard Pettersen2018-03-054-1/+15
|
* let DenseInplaceMapFunction inherit tensor_function::MapHåvard Pettersen2018-03-053-6/+4
|
* DenseInplaceJoinFunction is also a JoinArne Juul2018-03-053-7/+4
| | | | | * this ensures that other optimizations higher up in the expression tree may recognize the join and combine it to optimize further.
* use more descriptive method names (for profiling)Arne Juul2018-03-052-4/+4
|
* move testHåvard Pettersen2018-03-022-5/+1
|
* mark output from XW product as mutableArne Juul2018-03-022-0/+7
|
* minor cleanupHåvard Pettersen2018-03-022-49/+36
|
* minor cleanupHåvard Pettersen2018-03-023-62/+76
|
* improve testArne Juul2018-03-021-32/+73
|
* fix operand orderingArne Juul2018-03-012-2/+3
| | | | * also improve test to detect this bug