similar to: [LLVMdev] Clang support for CUDA

Displaying 20 results from an estimated 500 matches similar to: "[LLVMdev] Clang support for CUDA"

2020 Feb 13
3
setOperands(int, Value*)
Hello, I am trying to reset the operands of instructions. What I am doing is, I am finding all Uses of a specific operand in an Instruction and resetting it with a new value using "setOperands(int, Value*)". I am doing as: for (auto vmitr=vm.begin(), vsitr=vs.begin(); vmitr!=vm.end() && vsitr!=vs.end(); vmitr++, vsitr++){ // I have two *Value ( operands) for ( auto myitr
2015 Feb 28
1
[LLVMdev] LLVM short comings regarding polyhedral and vectorization optimizations
Dear All; Is there any work that discusses ​LLVM framework's short comings regarding auto vectorization and polyhedral optimizations? Regards, > -- Abid M. Malik ****************************************************** "I have learned silence from the talkative, toleration from the intolerant, and kindness from the unkind"---Gibran "Success is not for the chosen few, but
2020 Jan 29
2
Value &operator=(const Value &) = delete;
Does it mean we can not dereference the Value variables? Value *val = some operand of an instruction; Value *val2= some operand of another instruction; I am trying to rewire the operand values of an instruction using: *val = *val2; It seems that this is not allowed. Thanks, -- Abid M. Malik ****************************************************** "I have learned silence from the
2020 Jan 19
3
Instruction arguments
Hello, I am loop over the arguments of a call instruction : ----> for (Value *arg: c->args()){ errs() << *arg << "\n"; arg->print(llvm::errs(), false); errs()<<"\n"; } -----> How can I convert the arg for binary comparison(== etc.)? If I am correct, it is not a string. If the argument is "i32 1",
2020 Jan 23
2
Replacing operands in a call instruction
Hello, I am trying to replace a pointer argument of a call instruction with another pointer argument( new argument value for the call instruction). What is the best way to do it? I could not find any hint/guidance on the web or LLVM manual. Thanks, -- Abid M. Malik ****************************************************** "I have learned silence from the talkative, toleration from the
2020 Sep 30
2
lifetime_start/end
Hello, What intrinsics "@llvm.lifetime.start/@llvm.lifetime.end" really do? As per my knowledge, they define the live ranges of variables. In the following code section, they seem redundant. However, when I remove them, the behavior of the code becomes non-deterministic. The live ranges of the variables defined by them are never used in the code. Thanks, --------------- %37 = bitcast
2006 Sep 20
2
DSpam plugin
I'm trying to set up Johannes's DSpam plugin for dovecot. I've compiled rc2 and the plugin, and have things installed OK. I have a X-DSPAM-Signature in my message that is delivered to Inbox. Whenever I try to move this to my spam folder (I changed source to say 'Spam' instead of 'SPAM'), my client (Thunderbird) pops up 'The current command did not succeed. The
2008 Jul 01
2
tilde username
Hi I use winbind with ADS security for authentication. If I write "ls -la ~username" in bash or ksh and press TAB or escape to resolve the HOMEDIR the shell hangs until I cancel with Ctrl+C. After that I have to restart winbind! If I press enter after "ls -la ~username" it works. I use samba3-winbind-3.0.28-35 on RHEL4U6 (32bit). Any idea? regards urs
2011 Nov 10
4
Maktabah Syamilah on wine
Hi, I'm one of ubuntu indonesian muslim users. The truth is; all of kind software piracy is forbidden in our religion, some people who care this rule get an OS migration. But there are a problem, the best Islamic software "Maktabah Syamilah" doesn't run perfectly, take a look at the screenshots! This is maktabah syamilah on windows: [Image: http://i44.tinypic.com/iqyo48.png ]
2011 Mar 31
3
** to disconnect and make a new call
Hi, Does anyone know how to implement the feature in asterisk calling card when a user has dialed the access number and during the IVR or any time during the call, he can press ## or ** to end the current call and dial a new destination number? Please help and give me a step by step help. Thanks. Rgrds-------------Abid -------------- next part -------------- An HTML attachment was
2007 Sep 12
3
Two GCC warnings flags you should enable ASAP
Josh, There are two GCC warning flags you should enable for all the C code ASAP. From the gcc man page: -Wmissing-prototypes (C only) Warn if a global function is defined without a previous prototype declaration. This warning is issued even if the definition itself provides a prototype. The aim is to detect global functions that fail to be declared in header files.
2014 Jun 03
1
cuda-memcheck to debug CUDA-enabled R packages
I'm building a simple R extension around a CUDA-enabled dynamic library, and I want to run the whole package with cuda-memcheck for debugging purposes. I can run it just fine with Valgrind: $ R --no-save -d valgrind < test.R However, if I try the same thing with cuda-memcheck, $ R --no-save -d cuda-memcheck < test.R I get: *** Further command line arguments ('--no-save ')
2015 Apr 08
2
[LLVMdev] CUDA front-end (CUDA to LLVM IR)
On Wed, Apr 8, 2015 at 10:12 AM, Dmitry Mikushin <dmitry at kernelgen.org> wrote: > A tool of this kind here: https://github.com/apc-llc/nvcc-llvm-ir > > 2015-04-08 19:01 GMT+02:00 Ahmed ElTantawy <ahmede at ece.ubc.ca>: > >> Hi, >> >> I wanted to ask whether there is ongoing effort (or an already >> established tool) that enables to convert CUDA
2018 May 10
4
Migrating the llvm-emacs mode to a separate git repository
Hello llvm devs, Melpa[1] is pretty much the most common package manager for emacs and very recently the llvm-mode got removed from it[2] due to performance issues. This issue is not unique to llvm-mode, but affects a bunch of projects with very large git repositories[3]. Will it be possible to split this into a new separate git repo? This should make it easier for the emacs community to work
2015 Apr 08
5
[LLVMdev] CUDA front-end (CUDA to LLVM IR)
Hi, I wanted to ask whether there is ongoing effort (or an already established tool) that enables to convert CUDA kernels (that uses CUDA specific intrinsics, e.g., threadId.x, __syncthreads(), ...) to LLVM IR. I am aware that I can do this for OpenCL with the help of libclc but I can not find something similar for CUDA. Thanks -------------- next part -------------- An HTML attachment was
2008 Mar 30
2
How many maximum SIP Registrations can Asterisk Handle
Hi All, I am new to this community and just subscribed. We have Asterisk running in production but I could not find out in documentation as well as web that how many maximum number of registrations an Asterisk Server can support. We have it on a 1.4 GHz Processor, 2 GB RAM and 40 GB HDD IBM Server. Please suggest urgently. Thanks. Best Regards, ------------------------------------- Abid
2018 Jul 05
3
trying to resurrect discussion about "Cannot signal a process over a channel (rfc 4254, section 6.9)"
> At one point, I had wondered about separating out the client and server > support as well. At first glance, that would seem to help move things > forward and would address most of the reported use cases. However, I > have some users who would need the client support as well. > > I suspect that adding the server support first might be a problem for > the developers. Such a
2014 May 07
2
les opérations ajouter,supprimer,modifier un client avec jEE et asterisk
salut, je suis entrain de developper une application jEE avec asterisk qui consiste ? ajouter, supprimer,modifier des clients en utilisant Asterisk au lieu de base de donn?e, donc je suis d?butante dans ce domaine,j'ai fait pour l'instant une connection via asterisk avec API manager , mais je n'arrive pas a faire la manipulation d'ajout,supprime..Client car je n'ai pas saisie
2012 Feb 23
0
[LLVMdev] Clang support for CUDA
Hi, I am trying to convert a simple CUDA program to LLVM IR using clang 3.0. The program is as follows, #include<stdio.h> #nclude<clang/test/SemaCUDA/cuda.h> __global__ void kernfunc(int *a) { *a=threadIdx.x+blockIdx.x*blockDim.x; } int main() { int *h_a,*d_a,n; n=sizeof(int); h_a=(int*)malloc(n); *h_a=5; cudaMalloc((void*)&d_a,n); cudaMemcpy(d_a,h_a,n,cudaMemcpyHostToDevice);
2012 May 10
1
[LLVMdev] How to use llvm as the backend for cuda?
Hi, I received an email from Nvidia, saying that llvm now supports ptx code generation. I am confused how to use llvm as my backend, as it seems clang's support for cuda is not complete yet. My question is: given a cuda program, how can I use llvm to generate ptx code? Thanks, Bo -------------- next part -------------- An HTML attachment was scrubbed... URL: