columns = [#"Create:Validate input",
           #"Merge selection",
           "Calculate companions",
           "Calculate indices",
           "Allocate memory",
           "Update indices",
           "Split edges",
           #"Update:Validate input",
           "Calculate positions",
           #"Update:Copy",
           "Total"]
           

benchmarking.generate_component_image("CUDASubdivideEdgesBreakdown", "CUDASubdivideEdges", columns )


columns = [#"Create:Validate input",
           #"Merge selection",
           "Calculate companions",
           "Calculate indices",
           "Allocate memory",
           "Update indices",
           "Split edges",
           #"Update:Validate input",
           "Calculate positions",
           "Update Mesh",
           "Total"]

benchmarking.generate_component_image("SubdivideEdgesBreakdown", "SubdivideEdges", columns )
Esempio n. 2
0
#python

import benchmarking

columns = ["Update Topology:init",
           "Update Topology:DeviceAllocate",
           "Update Topology:Kernel",
           "Update Topology:Copy",
           "Update Geometry:init",
           "Update Geometry:Kernel",
           "Update Geometry:Copy",
           "Total"]
           

benchmarking.generate_component_image("CUDAPolyGridBreakdown", "CUDAPolyGrid", columns )

columns = ["Update Topology",
           "Update Mesh Topology",
           "Update Geometry",
           "Update Mesh Geometry",
           "Total"]

benchmarking.generate_component_image("PolyGridBreakdown", "PolyGrid", columns )



columns = ["Update Topology:init",
           "Update Topology:DeviceAllocate",
           "Update Topology:Kernel",
           "Update Topology:Copy",
           "Update Geometry:init",
import benchmarking

columns = [  #"Create:Validate input",
    #"Merge selection",
    "Calculate companions",
    "Calculate indices",
    "Allocate memory",
    "Update indices",
    "Split edges",
    #"Update:Validate input",
    "Calculate positions",
    #"Update:Copy",
    "Total"
]

benchmarking.generate_component_image("CUDASubdivideEdgesBreakdown",
                                      "CUDASubdivideEdges", columns)

columns = [  #"Create:Validate input",
    #"Merge selection",
    "Calculate companions",
    "Calculate indices",
    "Allocate memory",
    "Update indices",
    "Split edges",
    #"Update:Validate input",
    "Calculate positions",
    "Update Mesh",
    "Total"
]

benchmarking.generate_component_image("SubdivideEdgesBreakdown",