Displaying 2 results from an estimated 2 matches for "getresourcefactor".
2013 Jul 23
0
[LLVMdev] Questions about MachineScheduler
...rocResource<15>;
}
Now since you’ll want to plugin your own scheduling strategy, how you interpret the machine model is mostly up to you. What the TargetSchedModel interface does for you is normalize the resources to processor cycles. This is exposed with scaling factors (to avoid division): getResourceFactor, getMicroOpFactor, getLatencyFactor.
So if you have
def HW1 : ProcResource<15>;
def HW2 : ProcResource<3>;
LatencyFactor=15
ResourceFactor(HW1)=1
ResourceFactor(HW2)=5
> 2. Southern Islands has 256 registers, but there is a significant
> performance penalty if you use more t...
2013 Jul 22
2
[LLVMdev] Questions about MachineScheduler
Hi,
I'm working on defining a SchedMachineModel for the Southern Islands
family of GPUs, and I have two questions related to the
MachineScheduler.
1. I have a resource that can process 15 instructions at the same time.
In the TableGen definitions, should I do:
def HWVMEM : ProcResource<15>;
or
let BufferSize = 15 in {
def HWVMEM : ProcResource<1>;
}
2. Southern Islands has