Module Tolk
module Comgr_worker : sig ... endmodule Compiler_amd : sig ... endThe compiler of HIP for AMD GPUs.
module Compiler_cpu : sig ... endThe compiler of C for processors.
module Compiler_cuda : sig ... endThe compiler of CUDA C++ for NVIDIA GPUs.
module Compiler_metal : sig ... endMetal: the compiler of Metal Shading Language for Apple GPUs.
module Compiler_worker : sig ... endCompiles in processes of their own.
module Decomp_dtype : sig ... endEmulated data types.
Devices as a compiler sees them: the renderer that writes a device's programs, and the compiled program a runtime loads.
UOp graphs as text: the format of the programs the disk cache keeps (Codegen.to_program) and of the goldens, which tolk's test/README.md specifies.
Compilation targets, integer and list utilities, terminal text, the disk cache and programs.
module Heuristic_common : sig ... endWhat Heuristic's rules read of a kernel and apply to it.
module Heuristic_host : sig ... endThe host's rules of the hand-coded optimisations.
module Host_config : sig ... endmodule Linearizer : sig ... endOrdering a kernel into a list of instructions.
module Mtlcompiler_worker : sig ... endmodule Nvrtc_worker : sig ... endRenderers: what code generation may emit for a target, and how it becomes a program.
module Source_digest : sig ... endStaging a tensor core's operands through shared memory, and a decoded operand through a panel on the host (Decoded panels on the host).
module Support_memory : sig ... endMemory planning.
module Transcendental : sig ... endTranscendental functions as arithmetic.