Shivangi Agarwal <shivangiagarwal53(a)gmail.com> writes:
> No. It is the same error as before. I think I didn't look deep enough the
> first time. kernel_old_init is taking a name as an arg:
> -> kernel_old_init(self, prg, name)
> (Pdb) a
> self = <pyopencl._cl.Kernel object at 0x7f4632c17b30>
> prg = <pyopencl._cl._Program object at 0x7f463f737470>
> name = _source
> I tried running the program in gdb and it gave me "No stack". Is there any
> other way I can provide the bt?
I meant the Python backtrace, i.e. what Python prints if a program ends
with an error.
I am trying to implement electromagnetic simulations using PyOpenCl. The
memory that is used by the program varies and depends on user inputs. I was
looking for a way of profiling memory usage using PyOpenCl. There are tools
for querying the memory status for CUDA enabled devices but I am looking
for something which can be opted in general (AMD gpus or CPUs too).
Thanks & Regards
Final Year Undergraduate
IIT Kharagpur, India
Contact : +91-8232993930 | LinkedIn <http://linkedin.com/manishhag>