CMakeLists.txt 962 字节
Newer Older
1 2 3
cc_test(
  test_mkldnn_op_inplace
  SRCS test_mkldnn_op_inplace.cc
R
risemeup1 已提交
4 5
  DEPS executor
       op_registry
6 7
       elementwise_add_op
       activation_op
8
       phi
9 10 11
       scope
       device_context
       enforce
12
       generated_static_op)
13 14 15 16 17 18

set(TEST_MKLDNN_CACHING_DEPS
    op_registry
    elementwise_mul_op
    elementwise_add_op
    activation_op
19
    phi
20 21
    scope
    device_context
22 23 24
    enforce
    generated_static_op)

25 26 27 28 29 30 31 32 33 34 35 36 37
if(WITH_GPU OR WITH_ROCM)
  set(TEST_MKLDNN_CACHING_DEPS ${TEST_MKLDNN_CACHING_DEPS} depthwise_conv)
endif()
cc_test(
  test_mkldnn_caching
  SRCS test_mkldnn_caching.cc
  DEPS ${TEST_MKLDNN_CACHING_DEPS})

cc_test_old(
  test_mkldnn_op_nhwc
  SRCS
  test_mkldnn_op_nhwc.cc
  DEPS
R
risemeup1 已提交
38 39 40 41 42
  conditional_block_op
  standalone_executor
  executor
  recurrent_op_helper
  recurrent_op
43 44 45 46 47
  op_registry
  pool_op
  crop_op
  activation_op
  generated_op
48
  generated_static_op
49
  phi
50 51 52 53
  transpose_op
  fused_transpose_op
  scope
  device_context
R
risemeup1 已提交
54
  enforce)