Tensor: remove unused and unimplemented SetPreferredStorageType methods.

PiperOrigin-RevId: 502893019
This commit is contained in:
Nikolay Chirkov 2023-01-18 09:06:48 -08:00 committed by Copybara-Service
parent 29484702ce
commit 5687d19dec

View File

@ -370,13 +370,6 @@ class Tensor {
bool ready_as_opengl_texture_2d() const { bool ready_as_opengl_texture_2d() const {
return valid_ & kValidOpenGlTexture2d; return valid_ & kValidOpenGlTexture2d;
} }
// Sets the type of underlying resource that is going to be allocated.
enum class StorageType {
kDefault,
kAhwb,
};
static void SetPreferredStorageType(StorageType type);
static StorageType GetPreferredStorageType();
private: private:
void Move(Tensor*); void Move(Tensor*);