karma-revolution / ocl-emu Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ocl-emu
Automatically exported from code.google.com/p/ocl-emu
I am not very sure about the license which is applicable to AMD EMU. It might
be Apache License 2.0, which is the general google code hosting license. Could
someone please confirm this.
Original issue reported on code.google.com by [email protected]
on 4 May 2012 at 4:49
What steps will reproduce the problem?
1. Run the AESEncryptDecrypt example
2. output.bmp is missing the last 0x36 bytes
3. Windows Explorer does not believe this is a valid bitmap file, and will not
open it.
What is the expected output? What do you see instead?
Should be able to open the file. Instead get "invalid file format" message.
What version of the product are you using? On what operating system?
I downloaded source as of about Jan 12,2012. Windows 7 64-bit.
Please provide any additional information below.
At line 400 in SDKBitMap.cpp, the write() method is missing the fclose(fd) just
before successful return. Adding this allows the file to be written completely
to disk, so then Windows Explorer will open the image.
Original issue reported on code.google.com by [email protected]
on 18 Jan 2012 at 9:43
What steps will reproduce the problem?
1. DIFFICULT TO RUN OPENCL PROGRAM ON NORMAL DUAL CORE PROCESSOR
2. SETTING PATHS FOR EACH AND EVERY OPENCL PROJECT IS AGAIN CUMBERSOME
3. THERE IS NO PROPER EXPLANATION WHY SHOULD WE LINK THE OPENCL PREDEFINED
FILES.
What is the expected output? What do you see instead?
1>------ Build started: Project: TEST6, Configuration: Debug Win32 ------
1>Build started 12/11/2009 11:07:44 AM.
1>PrepareForBuild:
1> Creating directory "c:\users\pavan\documents\visual studio
2010\Projects\TEST6\Debug\".
1>InitializeBuildStatus:
1> Creating "Debug\TEST6.unsuccessfulbuild" because "AlwaysCreate" was
specified.
1>ClCompile:
1> stdafx.cpp
1> TEST6.cpp
1> HelloCL_Kernels.cpp
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl_kernels.cpp(97): fatal
error C1083: Cannot open include file:
'C:\Users\alyashev\alyashev_advtechmoreenvy\main\sw\advtech\tools\opencl_emu\cle
mu\clemu_opencl.h': No such file or directory
1> HelloCL.cpp
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(97): warning C4627:
'#include <cstdio>': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(98): warning C4627:
'#include <cstdlib>': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(99): warning C4627:
'#include <iostream>': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(100): warning C4627:
'#include <SDKUtil/SDKFile.hpp>': skipped when looking for precompiled header
use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(101): warning C4627:
'#include <SDKUtil/SDKCommon.hpp>': skipped when looking for precompiled header
use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(106): warning C4627:
'#include <CL/cl.hpp>': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(109): warning C4627:
'#include "runCL.h"': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\program files\amd app\tools\opencl
emulator\opencl-emu_app\src\cpp_cl\app\hellocl\hellocl.cpp(256): fatal error
C1010: unexpected end of file while looking for precompiled header. Did you
forget to add '#include "StdAfx.h"' to your source?
1> Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:05.51
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I HAVE TO GET OUTPUT FOR GENERATING EIGEN VALUS,BUT I AM GETTING THE ABOVE ERRORS
What version of the product are you using? On what operating system?
AMD SDK 2.5 ON WINDOWS 7
Please provide any additional information below.
I THINK,THE ABOVE INFORMATION IS SUFFICIENT.PLEASE CHECK OUT THE THINGS AND
GIVE SOLUTION HOW TO RUN AN OPENCL APPLICATION IN AN EASIER WAY
Original issue reported on code.google.com by [email protected]
on 7 Dec 2011 at 7:03
Hi,
The documentation provided with oclemu tell a lot of stuffs... but not how to
generate the C++ kernel !
Do we have to generate it by hand ?
I would like to avoid to create and maintain 2 version of my kernels !
Thx
Original issue reported on code.google.com by [email protected]
on 3 Mar 2011 at 9:27
What steps will reproduce the problem?
1. Run the HelloCL sample app on a system containing both AMD and nVidia OpenCL
implementations.
What is the expected output? What do you see instead?
I expected the program to detect and use all three types of devices: cpu, gpu,
gpu_emu.
What version of the product are you using? On what operating system?
I am using ocl_emu-051311 on Windows 7 64bit, with the AMD APP SDK v2.5, and
nVidia graphics driver 285.62. I have a AMD PhenomII 955BE CPU and a nVidia GTX
560Ti gpu.
Other OpenCL implementations (Cloo, etc) work correctly, so the drivers appear
to be working.
Here is the output of running HelloCL:
>> BEGIN CONSOLE OUTPUT
Hello OpenCl App
gpu_emu run
Hello, I'm an OpenCl GPU EMULATOR multi-core device. my position right now is x=
7, y=7 in the group x=0 y=0
cpu run
Hello, I'm an OpenCl CPU multi-core device. my position right now is x=7, y=7 in
the group x=0 y=0
gpu run
Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND
Error: clCreateProgramWithSource failed. Error code : CL_INVALID_CONTEXT
Done
Passed!
Press any key to continue . . .
>> END CONSOLE OUTPUT
Also, when trying to run the other half of the HelloCL program (normally
disabled), I get the output below. I am not sure if this is related.
>> BEGIN CONSOLE OUTPUT
Hello OpenCl App
HelloCL!
Getting Platform Information
Creating a context AMD platform
Context::Context() failed (-32)
>> END CONSOLE OUTPUT
Original issue reported on code.google.com by [email protected]
on 3 Dec 2011 at 6:39
Hi,
when I trying to run HelloCL sample app which is in ocl_emu package
it do not run on cpu or gpu. Only gpu_emu success.
Here is output from HelloCL app:
[output]
Hello OpenCl App
gpu_emu run
Hello, I'm an OpenCl GPU EMULATOR multi-core device. my position right now is x=
7, y=7 in the group x=0 y=0
cpu run
Error: clBuildProgram failed. Error code : CL_INVALID_BUILD_OPTIONS
gpu run
Error: clBuildProgram failed. Error code : CL_INVALID_BUILD_OPTIONS
Done
Passed!
[/output]
What am i doing wrong ?
I am using the latest AMD SDK and ocl emu from ocl_emu-092911.zip
Thanks, Martin
Original issue reported on code.google.com by xBajci
on 2 Dec 2011 at 12:48
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.