Giter VIP home page Giter VIP logo

Comments (20)

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on May 11, 2011 14:35:14

Ocelot uses functions provided in cfenv/fenv.h. This header file is not part of MSVC standard library implementation.

Has anyone got around this isse? Perhaps by changing the source/ supplying own functions etc?

Thanks,
Ganesh

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on May 11, 2011 15:57:46

See https://code.google.com/p/gpuocelot/source/browse/trunk/branches/ocelot-windows/ocelot/executive/implementation/CooperativeThreadArray.cpp?r=1001 for what I did to get around this the last time I tried. I couldn't immediately find an equivalent to fenv on windows so I just turned it off. Ideally, we would want a way to set the rounding modes on windows...

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From sschuberth on June 23, 2011 05:29:39

The FPU rounding mode can be set via _control87 on Windows, see http://msdn.microsoft.com/en-us/library/e9b52ceh%28v=VS.100%29.aspx If there's currently no one working on Windows support, I'd be willing to give it a try.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on June 23, 2011 10:28:12

Thanks for the link. I think that we would have to do something to ensure that once we set the mode, the x87 FPU is used rather than the SSE unit (which I think most compilers end up choosing by default). Also, we would probably want to wrap both fenv and _control87 behind a wrapper library.

I don't think that anyone is working on this now, although I am tracking it.

If you are willing, I would encourage you to give it a try.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on June 23, 2011 15:05:53

Issue 32 has been merged into this issue.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From sschuberth on July 29, 2011 09:29:32

I'm currently working on compiling gpuocelot with VS2010 and will hopefully be able to send some patches to the mailing list soon.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on September 27, 2011 10:52:47

There is currently support in the source code as well as the build system for windows. I need someone to independently try this out and verify it.

Status: Started

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on September 27, 2011 10:58:39

I'm up. What is needed?

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on September 27, 2011 14:27:02

I added some experimental build instructions to the Installation wiki page. You need to make sure that you have all of the prerequisites installed and then try out the commands listed.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on February 01, 2012 15:37:35

any news about this subject? I would like to use it on my windows. Thanks.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From sschuberth on February 02, 2012 01:26:26

I believe this has been resolved quite some time ago already, starting with https://code.google.com/p/gpuocelot/source/detail?r=1405

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on February 02, 2012 08:56:19

All right, but I see no version, or public package available for windows... there is any possibility to see this?

Thanks.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on February 02, 2012 09:08:48

I'm currently leaving this open until we have a library available on the website.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on February 02, 2012 15:11:20

Thanks for the info. I will wait for news about it, because I plan to use Ocelot in many projects for windows I am developing, I have many cuda codes that needs to be executed on AMD GPU or CPU (My desktop currently have a low-end Nvidia card, one high-end AMD card, and an 2 x 8 core cpu, and I will greatly take benefit if I could use all of them at the same time). Best regards. Thanks.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From dmitrinesteruk on May 30, 2012 01:31:14

Any news on this?

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on May 30, 2012 08:48:32

There is preliminary support for building on windows. Just run build.py from the command line.

The emulator is supported (although there are a few minor issues with rounding modifiers that makes floating point precision slightly different than on linux in some rare cares).

The multicore CPU backend has been tested a few times.

The NVIDIA and AMD backends build, but they have not been tested.

It would be useful to have someone donate a windows machine for running regression tests.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on June 01, 2012 15:08:15

Very nice! I am going to try this. But for what I saw, in the code, I feel it is a very nice piece of tech, very well written. Thanks very much!

PS.: I dont found the Opencl backend, it is me, or it is really not present at the moment in trunk?

PS.: I saw here to find details about how to build for windows, https://code.google.com/p/gpuocelot/wiki/Installation , but, it seems something is omitted. A little more details would not hurt.

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on August 24, 2012 12:14:31

Hi, is it still possible to get the codes somewhere? I have VS 2010 Proffesional at my disposal and since my laptop doesnt have NVIDIA card, I would like to use Ocelot to emulate it in Windows environment. While I was able to get Ocelot working after about day and a half on Ubuntu 12.04, I wont be able to use it for active development since everybody around uses VS to develop CUDA apps. I can imagine it being pretty painful to keep linux and VS project synchronized. I am working on a naive "hybrid" solution involving virtual machine with linux and a shared folder containing project sources hosted on the host computer. Then, in theory, it could be possible to edit all files in VS, switch to virtual machine, compile the stuff in linux and see the result there too. Its just a thought, though, how efficient and comfortable that can be, no idea.

Still, if I could download the Windows sources for Ocelot from somewhere, I would certainly give it a try. Is there still such a place available, please?

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on October 18, 2012 18:39:04

I've actually managed to get Ocelot to compile under win7 with 2010 pro in both 32 and 64 bits after some work, but now when I try to link the ocelot.lib it complains about missing symbols.

for a very basic program that does nearly nothing:

C:\Users\micha-f\Documents\test>nvcc -m32 -c main.cu
main.cu
tmpxft_0000344c_00000000-5_main.cudafe1.gpu
tmpxft_0000344c_00000000-10_main.cudafe2.gpu
main.cu
tmpxft_0000344c_00000000-5_main.cudafe1.cpp
tmpxft_0000344c_00000000-15_main.ii

C:\Users\micha-f\Documents\test>cl main.obj C:\Programs\Ocelot\lib\ocelot.lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.

/out:main.exe
main.obj
C:\Programs\Ocelot\lib\ocelot.lib
main.obj : error LNK2019: unresolved external symbol _cudaFree@4 referenced in function _main
main.obj : error LNK2019: unresolved external symbol _cudaConfigureCall@32 referenced in function _main
main.obj : error LNK2019: unresolved external symbol _cudaMemcpy@16 referenced in function _main
main.obj : error LNK2019: unresolved external symbol _cudaMalloc@8 referenced in function _main
main.obj : error LNK2019: unresolved external symbol _cudaSetupArgument@12 referenced in function "void __cdecl __device_stub__Z5helloPcPi(char *,int *)" (?__device_stub__Z5helloPcPi@@YAXPADPAH@Z)
main.obj : error LNK2019: unresolved external symbol ___cudaRegisterFatBinary@4 referenced in function "void __cdecl __sti____cudaRegisterAll_39_tmpxft_0000344c_00000000_8_main_cpp1_ii_794ab5f2(void)" (?__sti____cudaRegisterAll_39_tmpxft_0000344c_00000000_8_main_cpp1_ii_794ab5f2@@yaxxz)
main.obj : error LNK2019: unresolved external symbol ___cudaUnregisterFatBinary@4 referenced in function "void __cdecl __cudaUnregisterBinaryUtil(void)" (?__cudaUnregisterBinaryUtil@@yaxxz)
main.obj : error LNK2019: unresolved external symbol ___cudaRegisterFunction@40 referenced in function "void __cdecl __nv_cudaEntityRegisterCallback(void * *)" (?__nv_cudaEntityRegisterCallback@@YAXPAPAX@Z)
main.obj : error LNK2019: unresolved external symbol _cudaLaunch@4 referenced in function "enum cudaError __cdecl cudaLaunch(char *)" (??$cudaLaunch@D@@ya?AW4cudaError@@pad@Z)
main.exe : fatal error LNK1120: 9 unresolved externals

from gpuocelot.

jwang323 avatar jwang323 commented on July 30, 2024

From [email protected] on August 18, 2014 13:54:43

I could definetly see about donating a windows machine to help further develop this project (if that's what's really needed, maybe it's actually more devs. that is needed?).

Meanwhile I'm also gonna give the windows build a go... How many have been successful so far?

from gpuocelot.

Related Issues (20)

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.