Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

TBB error : atomic is undefined

Aleksandr_S_1
Beginner
156 Views

I got a C++ code in VS2013 using Intel Compiler XE 15. I write

#include "tbb/atomic.h"

...atomic<int> x;

I get identifier 'atomic' is undefined. what did I do wrong?

0 Kudos
1 Solution
RafSchietekat
Black Belt
156 Views

Replace "..." with "tbb::".

View solution in original post

1 Reply
RafSchietekat
Black Belt
157 Views

Replace "..." with "tbb::".

Reply