Amit Gupta

Results 15 issues of Amit Gupta

The library I am trying to compile has following structure: 1. BaseClass with two public functions `void operation` and `virtual void actual_operation` 2. A child class ImplementationClass, which implements `void...

In following example, when I compile I get the following message in my terminal ``` freeing without malloc i32* %1 ``` But the code still compiles and produces the binary...

Enzyme segfaults and yield following error on trying to compile a function using pybind11/Python datatypes. Portion of error message is posted at the bottom. The offending piece of code is...

type analysis

Consider following pointer to class member function ```C++ class MyFunctions{ ... void add_mul_const(double * a, double * b, double * out); }; void __enzyme_autodiff( void (MyFunctions::* )(double * , double...

**Snakemake version** : 7.8.5 Consider the following rule: ``` rule all: output: touch(f"ran_model") singularity: "/scratch/ag/singularity_images/cuda11.3.0-cudnn8-devel-ubuntu20.04.sif" shell: r""" source /ext3/env.sh python script.py """ ``` Which loads a singularity image, and runs...

bug

When I try to mix `` and `` I get the following error, however it works fine with ``. Is there a known way to mix reverse with pybind11/eigen ?...

Line [177](https://github.com/openkim/kliff/blob/master/kliff/dataset/weight.py#L177) in `kliff.dataset.weight` module is giving the following error in Python > 3.9, and error in Python >3.10 ``` ValueError: setting an array element with a sequence. The requested...

I dont expect this PR to be immediately merged. But I think I can use a fresh pair of eyes for the trainer. Now it has three trainers, KIM trainer,...

When I have following code in my function I get enzyme segfault (see below): ``` std::vector species_j_indices; for (int i = 0; i < number_of_neighbors; i++) { if (species[neighbor_lists[i]] ==...

Issue: I get the following error: ``` error: Enzyme: Cannot deduce type of memset call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(108) %3, i8 0, i64 108, i1 false) #7...