@@ -34,7 +34,7 @@ def generate_include_guard_end() -> str:
3434
3535class StaticTranslator :
3636 """
37- Translates a PyKokkos workload to C++ using static analysis only
37+ Translates a PyKokkos workunit to C++ using static analysis only
3838 """
3939
4040 def __init__ (
@@ -189,9 +189,9 @@ def translate_classtypes(
189189 self , classtypes : List [PyKokkosEntity ], restrict_views : Set [str ]
190190 ) -> List [cppast .RecordDecl ]:
191191 """
192- Translate all classtypes, i.e. classes that the workload uses internally
192+ Translate all classtypes, i.e. classes that the workunit uses internally
193193
194- :param classtypes: the list of classtypes needed by the workload
194+ :param classtypes: the list of classtypes needed by the workunit
195195 :param restrict_views: the views with the restrict keyword
196196 :returns: a list of strings of translated source code
197197 """
@@ -363,7 +363,7 @@ def translate_functions(
363363 """
364364 Translate all PyKokkos functions
365365
366- :param source: the python source code of the workload
366+ :param source: the python source code of the workunit
367367 :param restrict_views: the views with the restrict keyword
368368 :returns: a list of method declarations
369369 """
@@ -400,9 +400,9 @@ def translate_workunits(
400400 """
401401 Translate the workunits
402402
403- :param source: the python source code of the workload
403+ :param source: the python source code of the workunit
404404 :param restrict_views: the views with the restrict keyword
405- :returns: a tuple of a dictionary mapping from workload name
405+ :returns: a tuple of a dictionary mapping from workunit name
406406 to a tuple of operation name and source, and a boolean
407407 indicating whether the workunit has a call to pk.rand()
408408 """
0 commit comments