kernel

How to debug into CUDA kernel code using visual studio 2008?

Hey, I am using Visual Studio 2008, with CUDA 3.2. I am trying to debug into a function with this signature: MatrixMultiplication_Kernel<<<dimGrid, dimBlock>>>(Md, Nd, Pd, Width); I can step into the function, however when I get into the function it doesn't let me step over any of the code and tells me that no source is available. An...

Linux Kernel Process Management

Hi All, First, i admit all the things i will ask are about our homework but i assure you i am not asking without struggling at least two hours. Description: We are supposed to add a field called max_cpu_percent to task_struct data type and manipulate process scheduling algorithm so that processes can not use an higher percentage of th...

CPU Usage of a Process(task) Linux Kernel

Hi, how can i learn cpu usage percentage of a process in kernel-space? We are trying to limit cpu usage of a process looking at a field added to task_struct. Forexample if the field is 10 and the process has already consumed the %10 percent of total timeslice we need to prevent the process from runnning. thanks ...