1. 17 7月, 2017 1 次提交
  2. 16 7月, 2017 1 次提交
    • Y
      CMake `op_library` function · d3a749a5
      Yu Yang 提交于
      * It is used to create an operator library. It handles to split CPU and
        GPU sources and links operator common libraries.
      * It also give a reasonable warning and error when operator developer
        not correctly implement an operator.
        * Warning for lack of GPU kernel.
      * Same interface as `cc_library` to make code style consistent.
      d3a749a5
  3. 13 7月, 2017 2 次提交
    • Y
      Follow comments · 79b70c2d
      Yu Yang 提交于
      * Convert `op` --> `operators`
      * Remove AddType in OpProtoMaker, because type is part of registry.
      * Rename CPU_OR_GPU --> DEVICE_TYPE in registry macro.
      79b70c2d
    • Y
      Add a sample op, `add_op` · a0aaafe9
      Yu Yang 提交于
      * Refine register methods, make Op can get rid of whole-archieve
      * `USE_OP` before a op is used.
      * Add unittest for add_op.
      a0aaafe9