Skip to content

Commit 7706b54

Browse files
committed
Debug 5
1 parent 552c588 commit 7706b54

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ function(configure_kernel kernel)
139139

140140
if(${kernel} MATCHES "omp/$")
141141
set(XEUS_CPP_OMP "${OpenMP_CXX_FLAGS}")
142-
set(XEUS_CPP_INCLUDE_DIR "${XEUS_CPP_INCLUDE_DIR}")
143142
endif()
144143

145144
message(Configure_Kernel "${kernel}")

test/test_xcpp_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class XCppTests(jupyter_kernel_test.KernelTests):
131131
'mime': 'image/png'
132132
}
133133
]
134-
code_omp='#include <iostream>\n#include <omp>\n#include <clang/Interpreter/CppInterOp.h>\nCpp::LoadLibrary("libomp");int max_threads = omp_get_max_threads();omp_set_thread_num(max_threads);#pragma omp parallel \n{\nif(omp_get_thread_num()==2) std::cerr<<omp_get_thread_num()<<std::endl;}'
134+
code_omp='#include <iostream>\n#include <omp.h>\n#include <clang/Interpreter/CppInterOp.h>\nCpp::LoadLibrary("libomp");int max_threads = omp_get_max_threads();omp_set_thread_num(max_threads);#pragma omp parallel \n{\nif(omp_get_thread_num()==2) std::cerr<<omp_get_thread_num()<<std::endl;}'
135135
def test_xcpp_omp(self):
136136
self.flush_channels()
137137
reply, output_msgs = self.execute_helper(code=self.code_omp,timeout=1)

0 commit comments

Comments
 (0)