提交 928efeed 编写于 作者: P peizhilin

add the jit support, test=develop

上级 c75dc885
......@@ -84,8 +84,9 @@ function(op_library TARGET)
endif()
if (WIN32)
# remove windows unsupported op, because windows has no nccl, no warpctc such ops.
foreach(windows_unsupport_op "nccl_op" "gen_nccl_id_op" "warpctc_op" "hierarchical_sigmoid_op"
"crf_decoding_op" "select_op" "lstmp_op" "gru_op" "fusion_gru_op" "lstm_op" "fusion_lstm_op" "cumsum_op"
foreach(windows_unsupport_op "nccl_op" "gen_nccl_id_op" "warpctc_op"
# "hierarchical_sigmoid_op" "cumsum_op"
# "crf_decoding_op" "select_op" "lstmp_op" "gru_op" "fusion_gru_op" "lstm_op" "fusion_lstm_op"
"fusion_seqconv_eltadd_relu_op" "channel_send_op" "channel_create_op" "channel_close_op" "channel_recv_op")
if ("${TARGET}" STREQUAL "${windows_unsupport_op}")
return()
......
......@@ -16,12 +16,6 @@ limitations under the License. */
#include <math.h>
#include <string>
#ifdef _WIN32
#undef __AVX__
#undef __AVX__2
#endif
#include "paddle/fluid/platform/enforce.h"
#include "paddle/fluid/platform/hostdevice.h"
......
......@@ -14,6 +14,11 @@ limitations under the License. */
#pragma once
#ifdef _WIN32
#undef __AVX__
#undef __AVX2__
#endif
#include <stddef.h>
namespace paddle {
......
......@@ -14,6 +14,11 @@ limitations under the License. */
#pragma once
#ifdef _WIN32
#undef __AVX__
#undef __AVX2__
#endif
#ifdef __GNUC__
#include <cxxabi.h> // for __cxa_demangle
#endif // __GNUC__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册