Disable getNumGPUs rewrite (#14993)
authorEdward Yang <ezyang@fb.com>
Mon, 10 Dec 2018 23:10:23 +0000 (15:10 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 10 Dec 2018 23:13:55 +0000 (15:13 -0800)
Summary:
cc iotamudelta

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14993

Differential Revision: D13405804

Pulled By: ezyang

fbshipit-source-id: c4aa9ed29ee2a4f3abf76c1e0fa8babfd738db35

tools/amd_build/disabled_features.json

index 74ffae1..f7864dc 100644 (file)
         }
       },
       {
-        "path": "aten/src/ATen/Context.h",
-        "s_constants": {
-            "detail::getCUDAHooks().getNumGPUs()": "1"
-        }
-      },
-      {
         "path": "aten/src/ATen/native/cuda/Unique.cu",
         "s_constants": {
             "inverse_indices_kernel<<<": "inverse_indices_kernel<scalar_t><<<"