Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Short-circuiting in C
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Shao Miller, post: 4214783"] Agreed. I don't understand exactly what the original poster wants to achieve, but my impression is that they want "lock-steppedness." :) Agreed. But one can make some educated guesses about the timing of operations. In the table-using code I posted else-thread, if the 'func' function is called with different arguments simultaneously, those invocations should return the result simultaneously, barring external interruptions. Of course, such a table strategy becomes unwieldy as more parameters are required; heh. Agreed. The 'gcc -save-temps' is handy for examining resulting '.s' files. This shows that the table-using code doesn't have any branches (excluding the function calls). Of course, 'gcc' mightn't be applicable to the original poster's OpenCL needs. Loops change timing, of course. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Short-circuiting in C
Top