We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d23bc2 commit 8f33899Copy full SHA for 8f33899
test/test_xcpp_kernel.py
@@ -136,20 +136,7 @@ class XCppTests(jupyter_kernel_test.KernelTests):
136
#include <iostream>
137
#include <clang/Interpreter/CppInterOp.h>
138
bool library_loaded=Cpp::LoadLibrary("/home/runner/micromamba/envs/xeus-cpp/libomp.so");
139
- if(library_loaded) {
140
- int max_threads = omp_get_max_threads();
141
- omp_set_thread_num(max_threads);
142
- #pragma omp parallel
143
- {
144
- if(omp_get_thread_num()==2) {
145
- std::cerr<<omp_get_thread_num()<<std::endl;
146
- }
147
148
149
- else
150
151
- std::cerr<<"OpenMP library not loaded"<<std::endl;
152
+ std::cerr<<library_loaded<<std::endl;
153
"""
154
def test_xcpp_omp(self):
155
self.flush_channels()
0 commit comments