GithubHelp home page GithubHelp logo

ocl-emu's People

Contributors

karma-revolution avatar

Watchers

 avatar  avatar

ocl-emu's Issues

License verification

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

missing fclose in SDKBitMap.cpp causes invalid .bmp files in Windows7

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

MY INTIAL PROBLEMS

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

Unable to generate the c++ code from kernel ?

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

Not detecting multiple GPU vendors

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

callCL won't run on cpu or gpu

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.