Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

Core Scaling study using oneAPI

Yojan1
Beginner
790 Views

How do we enable a core scaling study using SYCL oneAPI?

i have been trying to use

queue q(cpu_selector_v);

oneapi::tbb::task_group tg;
auto mp = tbb::global_control::max_allowed_parallelism;
oneapi::tbb::global_control gc(mp,2);

to implement running the kernel on 2 cores, but vtune profiler does not display the right core count.

Labels (1)
0 Kudos
1 Reply
Alex_Y_Intel
Moderator
620 Views

Hi, can you please provide a reproducer and exact commands to demonstrate your issue? 

0 Kudos
Reply