STM Compiler - Specifying Atomic Code Blocks

STM Compiler - Specifying Atomic Code Blocks

I try to Specify Atomic Code Blocks for STM. When I use" Intel C++ 10.0.516" to compile my program. It always appear: error: identifier "__tm_atomic" is undefined

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Did you remember to specify /Qtm_enabled on the compile line?

The TM language extensions are disabled by default, so you have to explicitly enable them with that flag.

-- Jim

Leave a Comment

Please sign in to add a comment. Not a member? Join today