diff options
Diffstat (limited to 'sortlib.cuh')
| -rw-r--r-- | sortlib.cuh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sortlib.cuh b/sortlib.cuh index 4c339ca..6b19d3e 100644 --- a/sortlib.cuh +++ b/sortlib.cuh @@ -182,9 +182,9 @@ public: __host__ __device__ size_t length() const { return this->LENGTH; } }; -template <typename T> void static rebuild(std::vector<T> original) { +template <typename T> void rebuild(std::vector<T> original) { auto sample_length = original.size(); - auto sorter = CustomSort(sample_length); + auto sorter = CustomSort(sample_length, sizeof(T) * 8); auto tmp = new T[sample_length]; for (size_t i = 0; i < sample_length; i++) { |
