mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Applying Benoit's comment;removing dead code.
This commit is contained in:
parent
76c0fc1f95
commit
e3f964ed55
@ -40,7 +40,6 @@ struct SyclAllocator {
|
||||
SyclAllocator( ){};
|
||||
Scalar* allocate(std::size_t elements) {
|
||||
return static_cast<Scalar*>(Conditional_Allocate<CheckAlignStatically<Align>::Val, Align>::conditional_allocate(elements));
|
||||
// return static_cast<Scalar*>(aligned_alloc(Align, elements));
|
||||
}
|
||||
void deallocate(Scalar * p, std::size_t size) { EIGEN_UNUSED_VARIABLE(size); free(p); }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user