1. 12 12月, 2017 1 次提交
    • Q
      Refine device context (#6433) · 61ec0b95
      QI JUN 提交于
      There are mainly following fixes:
      
      - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
      - remove `eigen_device` interface in base class  `DeviceContext`
      - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
      - remove unused `platform::EigenDeviceConverter`
      - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
      - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
      61ec0b95
  2. 31 10月, 2017 1 次提交
  3. 28 9月, 2017 1 次提交
  4. 23 9月, 2017 1 次提交
  5. 07 9月, 2017 1 次提交
    • Add topk op (#3760) · 3fbb692d
      武毅 提交于
      * init add
      
      * add topk op
      
      * someupdate
      
      * fix style check
      
      * add test py file
      
      * update top k cuda kernel
      
      * follow comments
      
      * remove debug print
      
      * fix casting error
      
      * fix casting error
      
      * fix casting error
      
      * fix rename bug...
      
      * fix travis
      3fbb692d