diff options
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/hwaccelrated/generic.h')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/hwaccelrated/generic.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/hwaccelrated/generic.h b/staging_vespalib/src/vespa/vespalib/hwaccelrated/generic.h deleted file mode 100644 index 0cb21b70ca3..00000000000 --- a/staging_vespalib/src/vespa/vespalib/hwaccelrated/generic.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -// Copyright (C) 2003 Fast Search & Transfer ASA -// Copyright (C) 2003 Overture Services Norway AS - -#pragma once - -#include <vespa/vespalib/hwaccelrated/iaccelrated.h> - -namespace vespalib { - -namespace hwaccelrated { - -/** - * Generic cpu agnostic implementation. - */ -class GenericAccelrator : public IAccelrated -{ -public: - float dotProduct(const float * a, const float * b, size_t sz) const override; - double dotProduct(const double * a, const double * b, size_t sz) const override; - int64_t dotProduct(const int32_t * a, const int32_t * b, size_t sz) const override; - long long dotProduct(const int64_t * a, const int64_t * b, size_t sz) const override; - void orBit(void * a, const void * b, size_t bytes) const override; - void andBit(void * a, const void * b, size_t bytes) const override; - void andNotBit(void * a, const void * b, size_t bytes) const override; - void notBit(void * a, size_t bytes) const override; -}; - -} -} |