Start configurating GPU
This commit is contained in:
@@ -153,17 +153,20 @@ public:
|
||||
}
|
||||
|
||||
// For easier constructing
|
||||
constexpr __always_inline ComplexBitMap<T>& set(const BitRange<T>& range, T value) {
|
||||
template<typename S>
|
||||
constexpr __always_inline ComplexBitMap<T>& set(const BitRange<S>& range, T value) {
|
||||
this->set_value(value, range);
|
||||
return *this;
|
||||
}
|
||||
|
||||
constexpr __always_inline ComplexBitMap<T>& set(const BitRangeValue<T>& value) {
|
||||
template<typename S>
|
||||
constexpr __always_inline ComplexBitMap<T>& set(const BitRangeValue<S>& value) {
|
||||
this->set_value(value.value, {value.begin, value.length});
|
||||
return *this;
|
||||
}
|
||||
|
||||
constexpr __always_inline ComplexBitMap<T>& set(const Bit<T>& bit) {
|
||||
template<typename S>
|
||||
constexpr __always_inline ComplexBitMap<T>& set(const Bit<S>& bit) {
|
||||
this->set_bit(bit.value);
|
||||
return *this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user