generate_directed_instr_stream function
CodeArtifactThe `generate_directed_instr_stream` function is shown in a DVCon RISCV-DV optimization paper as a parallelized implementation for randomizing directed instruction streams. It computes per-stream insertion counts from configured ratios, forks work into `generate_directed_instr_stream_idx`, assigns thread affinity, joins all forks, validates the final stream length, and shuffles the resulting instruction-stream array.
WIKI
Overview
generate_directed_instr_stream is presented in Listing 10 of the DVCon paper Crafting a Million Instructions/Sec RISCV-DV under the heading “Parallelizing Randomization of the Directed Instruction Streams.” The listing shows a function that generates directed RISC-V instruction streams, using forked work items to parallelize stream generation across entries in directed_instr_stream_ratio.[C1]
Signature and inputs
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →