Editing User:Marco-domingues/GSoC17/Log
From BRL-CAD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 248: | Line 248: | ||
* This change on the code resulted in a significant improvement on the performance, as you can see in the following table: | * This change on the code resulted in a significant improvement on the performance, as you can see in the following table: | ||
− | |||
[[File:time_comparison.png|frame|center|x200px]] | [[File:time_comparison.png|frame|center|x200px]] | ||
Line 279: | Line 278: | ||
* Here is a table with a time comparison between the code in the trunk, the code with the new tree structure and the code currently in the opencl branch (RPN tree): | * Here is a table with a time comparison between the code in the trunk, the code with the new tree structure and the code currently in the opencl branch (RPN tree): | ||
− | |||
[[File:comparison.png|frame|center|x200px]] | [[File:comparison.png|frame|center|x200px]] | ||
Line 288: | Line 286: | ||
* Made some optimizations in the ANSI C bool_eval() prototype and now the new code is slightly faster than the code currently in the trunk! This difference is more noticeable when rendering the havoc scene with the command "rt -s2048": 2.53sec vs 2.18sec. | * Made some optimizations in the ANSI C bool_eval() prototype and now the new code is slightly faster than the code currently in the trunk! This difference is more noticeable when rendering the havoc scene with the command "rt -s2048": 2.53sec vs 2.18sec. | ||
− | |||
[[File:time.png|frame|center|x200px]] | [[File:time.png|frame|center|x200px]] | ||
Line 307: | Line 304: | ||
* Here is a table with the time comparison of the previous implementation (bool_eval() with RPN tree) and the current version with the new tree representation: | * Here is a table with the time comparison of the previous implementation (bool_eval() with RPN tree) and the current version with the new tree representation: | ||
− | (running the OpenCL over the Intel OpenCL SDK on CPU | + | (running the OpenCL over the Intel OpenCL SDK on CPU) |
[[File:new_tree_times.png|frame|center|x200px]] | [[File:new_tree_times.png|frame|center|x200px]] | ||
Line 331: | Line 328: | ||
* Preparing patch against trunk code | * Preparing patch against trunk code | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |