From 862aff641a1512de34d9a868245d0ea0f3b3da52 Mon Sep 17 00:00:00 2001 From: Gregory Chanan Date: Wed, 3 Apr 2019 13:55:03 -0700 Subject: [PATCH] =?utf8?q?Remove=20`device=5Fguard:=20False`=20from=20nati?= =?utf8?q?ve=5Ffunctions=20that=20don't=20have=20a=20=E2=80=A6=20(#18803)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Summary: …tensor. There's nothing to device_guard on. Pull Request resolved: https://github.com/pytorch/pytorch/pull/18803 Reviewed By: ezyang Differential Revision: D14748091 Pulled By: gchanan fbshipit-source-id: ed6f16d6f4d3f07b6d5ad9696f71a14333c228b8 --- aten/src/ATen/native/native_functions.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aten/src/ATen/native/native_functions.yaml b/aten/src/ATen/native/native_functions.yaml index a72d9c4..bcdff2e 100644 --- a/aten/src/ATen/native/native_functions.yaml +++ b/aten/src/ATen/native/native_functions.yaml @@ -1117,19 +1117,15 @@ - func: _cufft_get_plan_cache_size() -> int matches_jit_signature: True - device_guard: False - func: _cufft_get_plan_cache_max_size() -> int matches_jit_signature: True - device_guard: False - func: _cufft_set_plan_cache_max_size(int max_size) -> void matches_jit_signature: True - device_guard: False - func: _cufft_clear_plan_cache() -> void matches_jit_signature: True - device_guard: False - func: index(Tensor self, Tensor?[] indices) -> Tensor matches_jit_signature: True -- 2.7.4