Commit dc418c00 authored by Ahmad Siavashi's avatar Ahmad Siavashi

Remote GPU completed [untested].

parent b0f5a68b
...@@ -97,7 +97,7 @@ public class Lpds { ...@@ -97,7 +97,7 @@ public class Lpds {
workloadManifest.gpu_cloudlet_vm_map); workloadManifest.gpu_cloudlet_vm_map);
broker.submitCloudletList(gpuCloudlets); broker.submitCloudletList(gpuCloudlets);
Log.enable(); Log.enable();
CloudSim.startSimulation(); CloudSim.startSimulation();
...@@ -244,7 +244,11 @@ public class Lpds { ...@@ -244,7 +244,11 @@ public class Lpds {
throw new IllegalArgumentException("[-] Unknown CPU Utilization Model for Cloudlet."); throw new IllegalArgumentException("[-] Unknown CPU Utilization Model for Cloudlet.");
} }
GpuTask gpuTask = createGpuTask(gpuCloudletManifest.gpu_task); LpdsGpuTask gpuTaskManifest = gpuCloudletManifest.gpu_task;
GpuTask gpuTask = null;
if (gpuTaskManifest != null) {
gpuTask = createGpuTask(gpuTaskManifest);
}
GpuCloudlet gpuCloudlet = new GpuCloudlet(gpuCloudletManifest.id, length, pesNumber, inputSize, outputSize, GpuCloudlet gpuCloudlet = new GpuCloudlet(gpuCloudletManifest.id, length, pesNumber, inputSize, outputSize,
cpuUtilizationModel, ramUtilizationModel, bwUtilizationModel, gpuTask); cpuUtilizationModel, ramUtilizationModel, bwUtilizationModel, gpuTask);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment