Thank you. I got your point... And my previous test on native machine is
stupid...

So I tried to install OpenCL SDK in disk image and changed root to that,
and run the program inside the disk image, it gives the same segfault as in
simulation.

If I copy the whole /usr/lib64 from my machine into the disk image, it can
run correctly on native machine, but gives some error for gem5 simulation.

Hao

On Thu, Mar 1, 2012 at 12:21 PM, Nilay Vaish <[email protected]> wrote:

> On Thu, 1 Mar 2012, Hao Wang wrote:
>
>  It runs correctly on my own laptop (Intel i7 with AMD OpenCL SDK
>> installed).
>>
>> My machine has a lot more lib files under /usr/lib, but I think I have
>> copied all the newly added files after installation of the SDK.
>>
>> BTW, does gem5 support SSE3 extension for x86_64? I just heard that AMD's
>> OpenCL implementation may not support SSE2.
>>
>> Hao
>>
>> Are you able to run OpenCL programs on a native machine, under the
>> condition
>>
>>> that everything is on the disk image that you are using for x86 fs
>>> simulation?
>>>
>>>
>>
> You may not have answered the question that I asked. When you run gem5 in
> FS mode, it makes use of disk image. When you run the OpenCL program on
> your laptop, are you running the program residing on that disk image? Can
> you install OpenCL on that disk image, instead of copying files?
>
> I don't know if SSE instructions are supported. You can check files in
> src/arch/x86 directory.
>
> --
> Nilay
> ______________________________**_________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>



-- 
------------------------------------------------------
Wang, Hao
http://homepages.cae.wisc.edu/~wangh/

Ph.D. candidate
Dept. of Electrical &  Computer Engineering
University of Wisconsin, Madison

B.S. from
Department of Microelectronics
School of Electronics Engineering and Computer Science
Peking University
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to